Skip to content

Commit a970edb

Browse files
committed
Remove separate phpbench configuration for CI
1 parent 24fffe8 commit a970edb

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ mongo-orchestration export-ignore
88
stubs export-ignore
99
tools export-ignore
1010
Makefile export-ignore
11+
phpbench.json.dist export-ignore
1112
phpcs.xml.dist export-ignore
1213
phpunit.evergreen.xml export-ignore
1314
phpunit.xml.dist export-ignore

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
composer-options: "--no-suggest"
6868

6969
- name: "Run phpbench"
70-
run: "vendor/bin/phpbench run --config=phpbench.ci.json --report=aggregate --report=bar_chart_time --output html"
70+
run: "vendor/bin/phpbench run --report=aggregate --report=bar_chart_time --output html"
7171

7272
- name: Upload HTML report
7373
uses: actions/upload-artifact@v3

phpbench.ci.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

phpbench.json.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
"$schema": "./vendor/phpbench/phpbench/phpbench.schema.json",
33
"runner.bootstrap": "vendor/autoload.php",
44
"runner.path": "benchmark",
5+
"runner.iterations": 3,
6+
"runner.revs": 10,
57
"runner.warmup": 1
68
}

0 commit comments

Comments
 (0)