PHPBench v1.0.0-alpha3 Release Notes
Release Date: 2020-11-28 // over 3 years ago-
Backward compatiblity breaks:
BenchmarkExecutorInterface#execute()
must now return anExecutionResults
object.TemplateExecutor
: expect anarray
for the time measurement result instead
of anint
.- Extensions use the Symfony
OptionsResolver
instead of provding an array of
0️⃣ default values (which is in line with how other parts of PHPBench are
working). - Executors accept a single, immutable
ExecutionContext
instead of the
📇 mutableSubjectMetadata
andIteration
- 📇 Renamed the
microtime
executor toremote
. OutputInterface
is injected from the DI conatiner,OutputAwareInterface
🚚 has been removed.
🔋 Features:
- Introduced
remote_script_remove
andremote_script_path
options to assist
in debugging. - ➕ Added
local
executor - execute benchmarks with in the same process as
PHPBench.
👌 Improvements:
- Decorator added to improve error reporting for method executors.
- 📇 Benchmarks executed as they are found (no eager metadata loading)
- 👍 Allow direct reference to services (e.g.
--executor=debug
without need for
🔧 adebug
configuration).