Skip to content

Commit

Permalink
Adjust benchmark report to be more useful
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd committed Oct 17, 2023
1 parent 910c5ac commit 9257226
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"tools/phpunit/vendor/bin/phpunit"
],
"test:benchmark": [
"tools/phpbench/vendor/bin/phpbench run --report=aggregate --retry-threshold=5"
"tools/phpbench/vendor/bin/phpbench run --report=flow-report"
],
"test:mutation": [
"tools/infection/vendor/bin/infection -j2"
Expand Down
14 changes: 14 additions & 0 deletions phpbench.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
{
"$schema": "./tools/phpbench/vendor/phpbench/phpbench/phpbench.schema.json",
"runner.bootstrap": "vendor/autoload.php",
"report.generators": {
"flow-report": {
"generator": "expression",
"cols": {
"benchmark": null,
"subject": null,
"revs": null,
"its": null,
"mem_peak": null,
"mode": null
}
}
},
"runner.path": [
"src/adapter/etl-adapter-avro/tests/Flow/ETL/Adapter/Avro/Tests/Benchmark/",
"src/adapter/etl-adapter-csv/tests/Flow/ETL/Adapter/CSV/Tests/Benchmark/",
Expand All @@ -11,5 +24,6 @@
"src/core/etl/tests/Flow/ETL/Tests/Benchmark/"
],
"runner.progress": "dots",
"runner.retry_threshold": 5,
"storage.xml_storage_path": "var/phpbench"
}

0 comments on commit 9257226

Please sign in to comment.