PHP Benchmarking framework
Bug fix:
(changes vs. 1.17)
B/C breaks:
RunnerConfig
self-update
functionality (suggest using phive
instead(.bootstrap
=> runner.bootstrap
, path
=>
runner.path
, extensions
=> core.extensions
. See the configuration
[documentation(https://phpbench.readthedocs.io/en/latest/configuration.html)
for a full reference.time_unit
and time_mode
configuration settings, as they are
replaced by runner.time_unit
and runner.time_mode
.baseline
renamed to sampler
to avoid
concept-conflict with the runner baselines.CoreExtension
, this will change the location of some constants used
(e.g. CoreExtension::TAG_PROGRESS_LOGGER
is now
RunnerExtension::PROGRESS_LOGGER
.travis
progress logger to plain
CONTINUOUS_INTEGRATION
environment variabletable
report generator, it is replaced by the expression
generator which is now used to produce the default
and aggregate
reports. The output and configuration is largely the same, but some features
have been removed.html
and markdown
output formats have been removed temporarily.--uuid
renamed to --ref
and tag:
prefix removed #740BenchmarkExecutorInterface#execute()
must now return an ExecutionResults
object.TemplateExecutor
: expect an array
for the time measurement result instead
of an int
.OptionsResolver
instead of provding an array of
default values (which is in line with how other parts of PHPBench are
working).ExecutionContext
instead of the
mutable SubjectMetadata
and Iteration
microtime
executor to remote
.OutputInterface
is injected from the DI conatiner, OutputAwareInterface
has been removed.--query
featre (only worked with DBAL, too complex).--context
(depreacted in favor of --tag
).archive
and delete
commands..phpbench
Features:
--working-dir
optionexpression
report.--theme=
selection and configuration.runner.{iterations,revs,time_unit,mode,etc}
)env.enabled_providers
#789@RetryThreshold
annotation, attribute, and
runner.retry_threshold
configuration.bare
report generator - provides all raw available report datadisplay_as_time
function to handle formatting time with
throughput.coalesce
function introduced in expression languageexpression
report generator - will eventually replace the table
report used
for aggregate
and default
reports.--format
to customize the summary shown in progress loggers-vvv
remote_script_remove
and remote_script_path
options to assist
in debugging.local
executor - execute benchmarks with in the same process as
PHPBench.@Timeout
to enable a timeout to be specified for any given benchmark -
@dantleech #614Improvements:
time
and memory
xdebug
extension (previously the entire extension
was hidden if Xdebug wasn't installed)vertical
layout to bare
report (vertical: true
).best
and worst
columns by default from default report.default
report is shown as time--executor=debug
without need for
a debug
configuration)..phpbench
directory in CWD (instead of
./_storage
and ./xdebug
--tag
implicitly stores the benchmark (no need to additionally use
--store
)Bug fix:
subtitle
#729text
instead of string
for envrionment key for DBAL storage - @flobeeB/C breaks:
RunnerConfig
Improvements:
Mo
prefix as a node (i.e. it can have highlighting applied to it)Bug fixes:
B/C breaks:
bootstrap
=> runner.bootstrap
, path
=>
runner.path
, extensions
=> core.extensions
. See the configuration
documentation
for a full reference.time_unit
and time_mode
configuration settings, as they are
replaced by runner.time_unit
and runner.time_mode
.baseline
renamed to sampler
to avoid
concept-conflict with the runner baselines.Improvements:
time
and memory
xdebug
extension (previously the entire extension
was hidden if Xdebug wasn't installed)B/C Breaks:
CoreExtension
, this will change the location of some constants used
(e.g. CoreExtension::TAG_PROGRESS_LOGGER
is now
RunnerExtension::PROGRESS_LOGGER
.travis
progress logger to plain
CONTINUOUS_INTEGRATION
environment variableFeatures:
--working-dir
optionexpression
report.--theme=
selection and configuration.runner.{iterations,revs,time_unit,mode,etc}
)env.enabled_providers
#789@RetryThreshold
annotation, attribute, and
runner.retry_threshold
configuration.Improvements:
vertical
layout to bare
report (vertical: true
).best
and worst
columns by default from default report.default
report is shown as timeOther:
This release replaces much of the reporting layer, switching it to be based on expressions.
BC Breaks:
table
report generator, it is replaced by the expression
generator which is now used to produce the default
and aggregate
reports. The output and configuration is largely the same, but some features
have been removed.html
and markdown
output formats have been removed temporarily.Features:
table
report.bare
report generator - provides all raw available report datadisplay_as_time
function to handle formatting time with
throughput.coalesce
function introduced in expression languageImprovements:
expression
report generator - will eventually replace the table
report used
for aggregate
and default
reports.--format
to customize the summary shown in progress loggers-vvv
Bug fixes:
Features:
Backward compatiblity breaks:
--uuid
renamed to --ref
and tag:
prefix removed #740Features:
Improvements:
Bug fixes:
subtitle
#729Improvements: