Phpbench Versions Save

PHP Benchmarking framework

1.2.2

2 years ago

Bug fixes:

  • Fix non-existing mappings in composer file #955 @Dgame

1.2.1

2 years ago

Bug fixes:

  • Do not index variants by parameter set name (as they vary by number of revs/iterations etc also) #947

Improvements:

  • Symfony 6 support - @julien-boudry
  • Allow globs in benchmark path specification - @ricardoboss

1.2.0

2 years ago

Features:

  • [expression] Support binary memory units #934
  • [reporting] Ability to expand table columns dynamically #928
  • [reporting] Ability to group columns #928
  • [reporting] Added benchmark_compare default report #928
  • [cli] Ability to filter by variant #938
  • [cli] Ability to filter reports #940

Improvements:

  • [storage] Allow . in tag names
  • [runner] Do not show warning when unable to load metadata for benchmark IF the runner.file_pattern is specified #941

Bug fixes:

  • Fix property (.) access precedence, it is now the same as [ array access #928

1.1.3

2 years ago
  • Fix bug with misassigned labels in bar chart #931
  • Safely removed non-functioning config option report.html_output_dir #930

1.1.2

2 years ago

1.1.2 (2021-09-25)

  • Removing PHP8.1 deprecations - @Crell
  • Removing PHP7.2 support

1.1.1

2 years ago

Bug fixes:

  • Prevent registering #[ParamProviders(...)] multiple times when benchmark methods are inherited #918 - @ocramius

1.1.0

2 years ago

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 and count 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 to log 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:

  • 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).

1.0.4

2 years ago

Bug fix:

  • runner.executor setting is ineffective and related bugs #880

1.0.3

2 years ago

Bug fix:

  • Show warning if file is read/reflected but it is not a benchmark file. #883

    Files that are not suffixed with Bench.php 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.2

2 years ago

Bug fix:

  • Fix incorrect benchmark column definition in report #840
  • Fix --ansi flag not be propagated to report output #844