PHPBench v1.0.0-alpha Release Notes
-
Backward compatibility breaks:
- ๐ DBAL extension removed.
- ๐ PHPBench Reports extension removed.
- โ Removed Xdebug Trace integration
- โ Removed
--query
featre (only worked with DBAL, too complex). - โ Removed
--context
(depreacted in favor of--tag
). - โ Removed
archive
anddelete
commands. - Assertions now accept a single expression rather than a set of configuration options.
- Type hints have been added in most places - possibly causing issues with any extensions.
- ๐ฑ Assets (storage, xdebug profiles) are now placed in
.phpbench
- Services referenced via. fully qualified class names instead of strings.
๐ Features:
- ๐ง Configuration profiles
- 0๏ธโฃ Xdebug extension is loaded by default if extension is loaded
- Baseline: Specify baseline suite when running benchmarks and show differences in reports #648
- Assert against the baseline
- ๐ Show PHP version and the status of Xdebug and Opcache in the runner output #649
- โ Add
@Timeout
to enable a timeout to be specified for any given benchmark - @dantleech #614
๐ Improvements
- All assets now placed in
.phpbench
directory in CWD (instead of./_storage
and./xdebug
--tag
implicitly stores the benchmark (no need to additionally use--store
)- Decrease benchmark overhead by rendering parameters in-template - @marc-mabe
๐ Bugfixes:
- Use
text
instead ofstring
for envrionment key for DBAL storage - @flobee - Numeric tags are not found.