All Versions
44
Latest Version
Avg Release Cycle
26 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v1.1.1 Changes
September 08, 2021๐ Bug fixes:
- Prevent registering #[ParamProviders(...)] multiple times when benchmark methods are inherited #918 - @ocramius
-
v1.1.0 Changes
August 15, 2021๐ Bug fixes:
- Ensure all refs are passed to report in run mode #864
- Memory formatting respects precision directive #892
- โ Remove double title output when description used in console reports #848
๐ Features:
- ๐ Allow env vars to be passed to the benchmark process.
- ๐ Allow config files to include other config files via.
$include
and$include-glob
#989 - โ Added
contains
function to see if a value exists in a list. - โ Added
frame
function to create a new data frame within an expression. - โ Added
sum
andcount
functions #865 - ๐ New component based report generator #851
- HTML Bar Chart component #853
- Console Bar Chart component #858
- Data Frame and Expression Filtering #831
- ๐ Allow multiple benchmark paths to be specified from CLI #834
- Functions which require at least one value return NULL when values are empty #835
- โ Add
--limit
option tolog
command #879 - โ Add
bare-vertical
report configuration (same as--report='extends: bare,{"vertical": true}
) #879
๐ Improvement:
- Surpress reports if errors were encountered during the run #912
- ๐ Support expressions in parttion specifications
- Data can be accessed on any expression value (not just "parameters")
- ๐ Use automatic time unit for expression report #838
- ๐จ Parameter handling refactored to be "safe": objects will not be unserialized in the PHPBench process #845
- ๐ Allow single quoted strings in expressions (better with JSON) #895
Other changes:
- "0" is not longer shown as the "set name" in reports, it is now an empty string.
- Lists and data frames can no longer be compared. Use the
frame
function to convert a list to a data frame (in the unlikely event you compare a list with a frame in a report).
-
v1.0.4 Changes
July 18, 2021๐ Bug fix:
runner.executor
setting is ineffective and related bugs #880
-
v1.0.3 Changes
July 03, 2021๐ Bug fix:
- โ Show warning if file is parsed but it is not a benchmark file. #883
Files that are not suffixed with
Bench.php
are are reflected and their docblocks are parsed. Causing unexpected errors if unknown docblock tags are present.As changing this behavior (introduced by error in 2016) is a B/C break, it will not be changed in a bug-fix release.
An option
runner.file_pattern
has been added however to enable the warnings to be resolved.๐ Improvement:
- ๐ Show warning if metadata could not be loaded for benchmark instead of an exception. >>>>>>> 1.0.x
-
v1.0.2 Changes
May 28, 2021๐ Bug fix:
- ๐ Fix incorrect benchmark column definition in report #840
- ๐ Fix
--ansi
flag not be propagated to report output #844
-
v1.0.1 Changes
May 11, 2021๐ Bug fix:
- Error with bare report when DateTime used as param #832
-
v1.0.0 Changes
May 09, 2021๐ Improvements:
- ๐ Optionaly support for binary data in param providers #532
- ๐ Support serializable objects in param providers #823
๐ Bug fix:
- ๐ Fix regression which requires phpbench to be installed with composer 2 #822
-
v1.0.0-beta2 Changes
B/C breaks:
- Progress logger: startSuite now additionally accepts
RunnerConfig
๐ Improvements:
- ๐ฆ Use package versions to show PHPBench version if not PHAR
๐ Bug fixes:
- Unterminated XML reference #818 - @staabm
- Parent directory for custom script path not created #739 - @alexandrajulius
- ๐ Windows newline is not understood in expression language #817 - @dantleech
- Progress logger: startSuite now additionally accepts
-
v1.0.0-beta1 Changes
B/C breaks:
- โ Removed
self-update
functionality (suggest usingphive
instead(. - ๐ง Most configuration option names have changed. All options are now prefixed
by their extension name, e.g.
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. - Removed
time_unit
andtime_mode
configuration settings, as they are replaced byrunner.time_unit
andrunner.time_mode
. - Environment provider
baseline
renamed tosampler
to avoid concept-conflict with the runner baselines.
๐ Improvements:
- โ Removed "summary" line from default progress output.
- 0๏ธโฃ Automatically detect time or memory units by default, added meta-units
time
andmemory
- Unconditionally enable
xdebug
extension (previously the entire extension was hidden if Xdebug wasn't installed)
- โ Removed
-
v1.0.0-alpha9 Changes
B/C Breaks:
- Extensions grouping related functionalities have been extracted from the
CoreExtension
, this will change the location of some constants used (e.g.CoreExtension::TAG_PROGRESS_LOGGER
is nowRunnerExtension::PROGRESS_LOGGER
. - ๐ Renamed
travis
progress logger toplain
- โ Removed awareness of
CONTINUOUS_INTEGRATION
environment variable
๐ Features:
- โ Added
--working-dir
option - Option to include the baseline rows in the
expression
report. - Progress output is sent to STDERR, report output to STDOUT (enable you to pipe the output)
- ๐ Allow
--theme=
selection and configuration. - ๐ Allow benchmarks to be configued in the config (
runner.{iterations,revs,time_unit,mode,etc}
) - Include collected environmental information in the report data #789
- ๐ Allow providers to be enabled/disabled via.
env.enabled_providers
#789 - ๐ Support
@RetryThreshold
annotation, attribute, andrunner.retry_threshold
configuration.
๐ Improvements:
- "local" executor will include non-existing benchmark classes and bootstrap
- ๐ Configuation options have generated documentation
- Preserve types in env information
- 0๏ธโฃ Make default true color theme compatible with light backgrounds.
- โ Added
vertical
layout tobare
report (vertical: true
). - โ Removed
best
andworst
columns by default from default report. - 0๏ธโฃ Default to showing all columns in expression report
- 0๏ธโฃ Standard deviation in
default
report is shown as time - Relative SD is color gradiated
- Trunacte long syntax error messages
Other:
- ๐ Automatically sign PHAR on release
- Extensions grouping related functionalities have been extracted from the