Composite¶
This report generates multiple reports.
Options¶
- reports:
Type(s):
array
, Default:n/a
Example¶
Given the following configuration:
{
"runner.path": "NothingBench.php",
"runner.executor": "debug",
"runner.env_enabled_providers": ["test"],
"report.generators": {
"all": {
"generator": "composite",
"reports": [ "default", "aggregate", "env" ]
}
}
}
When we run PHPBench with the configured report above:
phpbench run --report=all
Then it generates all reports:
+------+--------------+--------------+-----+------+----------+----------+--------------+----------------+
| iter | benchmark | subject | set | revs | mem_peak | time_avg | comp_z_value | comp_deviation |
+------+--------------+--------------+-----+------+----------+----------+--------------+----------------+
| 0 | NothingBench | benchNothing | | 1 | 100b | 10.000μs | +0.00σ | +0.00% |
+------+--------------+--------------+-----+------+----------+----------+--------------+----------------+
+--------------+--------------+-----+------+-----+----------+----------+--------+
| benchmark | subject | set | revs | its | mem_peak | mode | rstdev |
+--------------+--------------+-----+------+-----+----------+----------+--------+
| NothingBench | benchNothing | | 1 | 1 | 100b | 10.000μs | ±0.00% |
+--------------+--------------+-----+------+-----+----------+----------+--------+
Suite E3X6AeMdP7L9E7E0X0A7McP1L8E1EdXbAbMbP7La xxxx-xx-xx xx-xx-xx
+----------+----------+-------+
| provider | key | value |
+----------+----------+-------+
| test | example1 | 1 |
| test | example2 | 2 |
+----------+----------+-------+