Skip to content

Commit 249b879

Browse files
committed
fix bench
1 parent a369f64 commit 249b879

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/bench.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,27 +81,27 @@ jobs:
8181
if: github.event.issue.pull_request && contains(github.event.comment.body, '!large')
8282
# hyperfine --show-output --warmup 1 --export-markdown bench-mysql-l.md -n 'mysql-main' './bench-main -resultsize 1000000 -runs 2 -backend mysql -timeout 240s' -n 'mysql-pr' './bench-pr -resultsize 1000000 -runs 2 -backend mysql -timeout 240s'
8383
# hyperfine --show-output --warmup 1 --export-markdown bench-sqlite-l.md -n 'sqlite-main' './bench-main -resultsize 1000000 -runs 2 -backend sqlite -timeout 240s' -n 'sqlite-pr' './bench-pr -resultsize 1000000 -runs 2 -backend sqlite -timeout 240s'
84+
# cat bench-mysql-l.md >> benchmark.md
85+
# echo $'\n' >> benchmark.md
86+
# cat bench-sqlite-l.md >> benchmark.md
87+
# echo $'\n' >> benchmark.md
8488
run: |
8589
echo "## Large payload run (1MB)" >> benchmark.md
8690
hyperfine --show-output --warmup 1 --export-markdown bench-redis-l.md -n 'redis-main' './bench-main -resultsize 1000000 -runs 2 -backend redis -timeout 240s' -n 'redis-pr' './bench-pr -resultsize 1000000 -runs 2 -backend redis -timeout 240s'
87-
cat bench-mysql-l.md >> benchmark.md
88-
echo $'\n' >> benchmark.md
89-
cat bench-sqlite-l.md >> benchmark.md
90-
echo $'\n' >> benchmark.md
9191
cat bench-redis-l.md >> benchmark.md
9292
9393
9494
- name: Run very large benchmarks
9595
if: github.event.issue.pull_request && contains(github.event.comment.body, '!verylarge')
9696
# hyperfine --show-output --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'
9797
# hyperfine --show-output --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'
98+
# cat bench-mysql-l.md >> benchmark.md
99+
# echo $'\n' >> benchmark.md
100+
# cat bench-sqlite-l.md >> benchmark.md
101+
# echo $'\n' >> benchmark.md
98102
run: |
99103
echo "## Large payload run (5MB)" >> benchmark.md
100104
hyperfine --show-output --warmup 1 --export-markdown bench-redis-l.md -n 'redis-main' './bench-main -resultsize 5000000 -runs 2 -backend redis -timeout 240s' -n 'redis-pr' './bench-pr -resultsize 5000000 -runs 2 -backend redis -timeout 240s'
101-
cat bench-mysql-l.md >> benchmark.md
102-
echo $'\n' >> benchmark.md
103-
cat bench-sqlite-l.md >> benchmark.md
104-
echo $'\n' >> benchmark.md
105105
cat bench-redis-l.md >> benchmark.md
106106
107107
- name: Write a new comment

0 commit comments

Comments
 (0)