Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Report "derivations" - supporting the "diff" column - #1148

#1148
Merged
dantleech merged 1 commit into
masterphpbench/phpbench:masterfrom
derivationsphpbench/phpbench:derivationsCopy head branch name to clipboard
Jun 7, 2026
Merged

Report "derivations" - supporting the "diff" column#1148
dantleech merged 1 commit into
masterphpbench/phpbench:masterfrom
derivationsphpbench/phpbench:derivationsCopy head branch name to clipboard

Conversation

@dantleech

@dantleech dantleech commented Jun 6, 2026

Copy link
Copy Markdown
Member

This PR introduces support for computing report values derived from existing evaluations. Notable it provides a way to support displaying the "diff" (1.0x, 1.2x, etc) which, until now, has not been possible.

  • Derive columns from existing columns.
  • One or multiple passes.
  • New "aggregate-preview" report which includes the new "diff" column making use of this feature.
  • Add documentation

Comment thread lib/Report/Generator/ExpressionGenerator.php Outdated
Comment thread lib/Report/Generator/ExpressionGenerator.php Outdated
Comment thread lib/Report/Generator/ExpressionGenerator.php
Comment thread lib/Report/Generator/ExpressionGenerator.php
Comment thread lib/Report/Generator/ExpressionGenerator.php Outdated
Comment thread tests/Unit/Report/Generator/expression/break1 Outdated
Comment thread tests/Unit/Report/Generator/expression/derivations-single
@dantleech dantleech changed the title Report "derivations" Report "derivations" - supporting the "diff" column Jun 6, 2026
@dantleech
dantleech force-pushed the derivations branch 2 times, most recently from 4639c2c to 6910859 Compare June 6, 2026 15:42
Comment thread examples/Command/report-generators-expressions
Comment thread lib/Expression/NodePrinter/DisplayAsPrinter.php
@dantleech
dantleech force-pushed the derivations branch 11 times, most recently from 4f48c91 to 7b3232a Compare June 7, 2026 10:13
- Derive columns from existing columns.
- One or multiple passes.
- New "aggregate-preview" report which includes the new "diff" column
  making use of this feature.
- Add documentation
- Deprecates the `BASELINE_EXPRESSIONS` option
- nl2br in HTML report for description
@dantleech
dantleech merged commit 4da0b82 into master Jun 7, 2026
14 checks passed
@dantleech
dantleech deleted the derivations branch June 7, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.