|
1 | 1 | { |
2 | | - "$schema":"./vendor/phpbench/phpbench/phpbench.schema.json", |
| 2 | + "$schema": "./vendor/phpbench/phpbench/phpbench.schema.json", |
3 | 3 | "runner.bootstrap": "vendor/autoload.php", |
4 | 4 | "runner.path": "src", |
5 | 5 | "runner.progress": "plain", |
|
15 | 15 | "storage.store_binary": true, |
16 | 16 | "storage.driver": "xml", |
17 | 17 | "report.generators": { |
18 | | - "grouped": { |
| 18 | + "default": { |
19 | 19 | "extends": "overview", |
20 | | - "tabbed": false |
| 20 | + "tabbed": false, |
| 21 | + "components": [ |
| 22 | + { |
| 23 | + "component": "section", |
| 24 | + "tabbed": true, |
| 25 | + "tab_labels": [ |
| 26 | + "Time", |
| 27 | + "Memory" |
| 28 | + ], |
| 29 | + "components": [ |
| 30 | + { |
| 31 | + "title": "Average iteration times aggregated by benchmark", |
| 32 | + "component": "bar_chart_aggregate", |
| 33 | + "x_partition": [ |
| 34 | + "benchmark_name" |
| 35 | + ], |
| 36 | + "bar_partition": [ |
| 37 | + "suite_tag" |
| 38 | + ], |
| 39 | + "y_expr": "mode(partition['result_time_avg'])", |
| 40 | + "y_axes_label": "yValue as time precision 1" |
| 41 | + }, |
| 42 | + { |
| 43 | + "title": "Average peak memory aggregated by benchmark", |
| 44 | + "component": "bar_chart_aggregate", |
| 45 | + "x_partition": [ |
| 46 | + "benchmark_name" |
| 47 | + ], |
| 48 | + "bar_partition": [ |
| 49 | + "suite_tag" |
| 50 | + ], |
| 51 | + "y_expr": "mode(partition['result_mem_peak'])", |
| 52 | + "y_axes_label": "yValue as memory precision 1" |
| 53 | + }, |
| 54 | + { |
| 55 | + "component": "section", |
| 56 | + "title": "Results", |
| 57 | + "components": [ |
| 58 | + { |
| 59 | + "component": "table_aggregate", |
| 60 | + "title": "{{ first(frame.suite_tag) }}", |
| 61 | + "partition": [ |
| 62 | + "benchmark_name", |
| 63 | + "subject_name", |
| 64 | + "variant_name" |
| 65 | + ], |
| 66 | + "row": { |
| 67 | + "benchmark": "first(partition['benchmark_name'])", |
| 68 | + "memory": "first(partition['result_mem_peak']) as memory", |
| 69 | + "min": "min(partition['result_time_avg']) as time", |
| 70 | + "max": "max(partition['result_time_avg']) as time", |
| 71 | + "mode": "mode(partition['result_time_avg']) as time", |
| 72 | + "rstdev": "rstdev(partition['result_time_avg'])" |
| 73 | + } |
| 74 | + } |
| 75 | + ] |
| 76 | + } |
| 77 | + ] |
| 78 | + } |
| 79 | + ] |
21 | 80 | } |
22 | 81 | } |
23 | 82 | } |
0 commit comments