Skip to content

Commit e28d159

Browse files
committed
Run large bench on demand
1 parent 4509ac8 commit e28d159

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/bench.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ jobs:
7777
echo $'\n' >> benchmark.md
7878
cat bench-redis.md >> benchmark.md
7979
80+
- name: Run large benchmarks
81+
if: github.event.issue.pull_request && contains(github.event.comment.body, '!large')
82+
run:
8083
echo "## Large payload run (5MB)" >> benchmark.md
8184
hyperfine --warmup 1 --export-markdown bench-mysql-l.md -n 'mysql-main' './bench-main -resultsize 5000000 -runs 2 -backend mysql -timeout 240s' -n 'mysql-pr' './bench-pr -resultsize 5000000 -runs 2 -backend mysql -timeout 240s'
8285
hyperfine --warmup 1 --export-markdown bench-sqlite-l.md -n 'sqlite-main' './bench-main -resultsize 5000000 -runs 2 -backend sqlite -timeout 240s' -n 'sqlite-pr' './bench-pr -resultsize 5000000 -runs 2 -backend sqlite -timeout 240s'

0 commit comments

Comments
 (0)