Skip to content

Commit

Permalink
CHG: Nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
gravataLonga committed May 13, 2020
1 parent 3944d8a commit 1c90592
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"drupol/php-conventions": "^1.7",
"infection/infection": "^0.13.6 || ^0.15.0",
"phpunit/phpunit": "^7 || ^8",
"vimeo/psalm": "^3.11"
"vimeo/psalm": "^3.11",
"phpbench/phpbench": "@dev"
},
"autoload": {
"psr-4": {
Expand All @@ -35,6 +36,7 @@
}
},
"scripts": {
"grumphp": "grumphp run"
"grumphp": "grumphp run",
"bench": "phpbench run benchmarks/*.php --report=aggregate --retry-threshold=5"
}
}
3 changes: 0 additions & 3 deletions phpbench.json

This file was deleted.

20 changes: 20 additions & 0 deletions phpbench.json.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"bootstrap": "vendor/autoload.php",
"path": "./benchmarks",
"retry_threshold": 5,
"outputs": {
"my_output": {
"extends": "html",
"file": "./build/my_report.html",
"title": "Hello World"
}
},
"reports": {
"my_report": {
"extends": "aggregate"
}
},
"extensions": {
"PhpBench\\Extensions\\Reports\\ReportsExtension"
}
}

0 comments on commit 1c90592

Please sign in to comment.