we run phpbench in the phpstan-src repo, see e.g. https://github.com/phpstan/phpstan-src/actions/runs/26688750977/job/78661358197
results looks like this:
to ease reading the very long and information loaded table, I think it would be helpful if the summary table would contain less data (and therefore better fit into the github actions log viewer). the line break because of long lines, makes it hard to read.
from the phpstan-src case I see room for improvement in...
- all tests have the same
benchmark name (same string in column1 for all rows)
- all tests have the same
subject name (same string in column2 for all rows)
- all tests have the same
revs (same string in column4 for all rows)
- all tests have the same
its (same string in column5 for all rows)
while this is obviously not true for all phpbench use-cases, some of the above mentioned properties might still apply also in the more general sense. could phpbench drop columns which will have the same value all over the place to shrink the table and make it easier to read?
(or maybe print it below the table, when its the same for every row)
we run phpbench in the phpstan-src repo, see e.g. https://github.com/phpstan/phpstan-src/actions/runs/26688750977/job/78661358197
results looks like this:
to ease reading the very long and information loaded table, I think it would be helpful if the summary table would contain less data (and therefore better fit into the github actions log viewer). the line break because of long lines, makes it hard to read.
from the phpstan-src case I see room for improvement in...
benchmarkname (same string in column1 for all rows)subjectname (same string in column2 for all rows)revs(same string in column4 for all rows)its(same string in column5 for all rows)while this is obviously not true for all phpbench use-cases, some of the above mentioned properties might still apply also in the more general sense. could phpbench drop columns which will have the same value all over the place to shrink the table and make it easier to read?
(or maybe print it below the table, when its the same for every row)
The latest release introduces a way to compute the
diff(1.9x,1.2x, etc) and added a new report that features that column: https://github.com/phpbench/phpbench/releases/tag/1.7.0It also updated the example for a diff column: https://phpbench.readthedocs.io/en/latest/report-generators/expression.html