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 and delete 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 of string for envrionment key for DBAL storage - @flobee
    • Numeric tags are not found.