Skip to content

Commit 73f10fc

Browse files
committed
Fix benchmark.md
1 parent bf6d5a8 commit 73f10fc

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/bench.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -68,65 +68,65 @@ jobs:
6868
- name: Run MySQL benchmarks
6969
if: github.event.issue.pull_request && !contains(github.event.comment.body, '!skipmysql')
7070
run: |
71-
echo "## MySQL run" > benchmark-mysql.md
71+
echo "## MySQL run" > benchmark.md
7272
hyperfine --show-output --warmup 1 --export-markdown bench-mysql.md -n 'mysql-main' './bench-main -runs 2 -backend mysql' -n 'mysql-pr' './bench-pr -runs 2 -backend mysql'
73-
cat bench-mysql.md >> benchmark-mysql.md
73+
cat bench-mysql.md >> benchmark.md
7474
7575
- name: Run SQLite benchmarks
7676
if: github.event.issue.pull_request && !contains(github.event.comment.body, '!skipsqlite')
7777
run: |
7878
echo "## SQLite run" > benchmark-sqlite.md
7979
hyperfine --show-output --warmup 1 --export-markdown bench-sqlite.md -n 'sqlite-main' './bench-main -runs 2 -backend sqlite' -n 'sqlite-pr' './bench-pr -runs 2 -backend sqlite'
80-
cat bench-sqlite.md >> benchmark-sqlite.md
80+
cat bench-sqlite.md >> benchmark.md
8181
8282
- name: Run Redis benchmarks
8383
if: github.event.issue.pull_request && !contains(github.event.comment.body, '!skipredis')
8484
run: |
85-
echo "## Redis run" > benchmark-redis.md
85+
echo "## Redis run" > benchmark.md
8686
hyperfine --show-output --warmup 1 --export-markdown bench-redis.md -n 'redis-main' './bench-main -runs 2 -backend redis' -n 'redis-pr' './bench-pr -runs 2 -backend redis'
87-
cat bench-redis.md >> benchmark-redis.md
87+
cat bench-redis.md >> benchmark.md
8888
8989
- name: Run large MySQL benchmarks
9090
if: github.event.issue.pull_request && !contains(github.event.comment.body, '!skipmysql') && contains(github.event.comment.body, '!large')
9191
run: |
92-
echo "## Large MySQL payload run (1MB)" >> benchmark-mysql.md
92+
echo "## Large MySQL payload run (1MB)" >> benchmark.md
9393
hyperfine --show-output --warmup 1 --export-markdown bench-mysql-l.md -n 'mysql-main' './bench-main -resultsize 1000000 -activities 10 -runs 2 -backend mysql -timeout 240s' -n 'mysql-pr' './bench-pr -resultsize 1000000 -activities 10 -runs 2 -backend mysql -timeout 240s'
94-
cat bench-mysql-l.md >> benchmark-mysql.md
94+
cat bench-mysql-l.md >> benchmark.md
9595
9696
- name: Run large SQLite benchmarks
9797
if: github.event.issue.pull_request && !contains(github.event.comment.body, '!skipsqlite') && contains(github.event.comment.body, '!large')
9898
run: |
99-
echo "## Large SQLite payload run (1MB)" >> benchmark-sqlite.md
99+
echo "## Large SQLite payload run (1MB)" >> benchmark.md
100100
hyperfine --show-output --warmup 1 --export-markdown bench-sqlite-l.md -n 'sqlite-main' './bench-main -resultsize 1000000 -activities 10 -runs 2 -backend sqlite -timeout 240s' -n 'sqlite-pr' './bench-pr -resultsize 1000000 -activities 10 -runs 2 -backend sqlite -timeout 240s'
101-
cat bench-sqlite-l.md >> benchmark-sqlite.md
101+
cat bench-sqlite-l.md >> benchmark.md
102102
103103
- name: Run large Redis benchmarks
104104
if: github.event.issue.pull_request && !contains(github.event.comment.body, '!skipredis') && contains(github.event.comment.body, '!large')
105105
run: |
106-
echo "## Large Redis payload run (1MB)" >> benchmark-redis.md
106+
echo "## Large Redis payload run (1MB)" >> benchmark.md
107107
hyperfine --show-output --warmup 1 --export-markdown bench-redis-l.md -n 'redis-main' './bench-main -resultsize 1000000 -activities 10 -runs 2 -backend redis -timeout 240s' -n 'redis-pr' './bench-pr -resultsize 1000000 -activities 10 -runs 2 -backend redis -timeout 240s'
108-
cat bench-redis-l.md >> benchmark-redis.md
108+
cat bench-redis-l.md >> benchmark.md
109109
110110
- name: Run very large MySQL benchmarks
111111
if: github.event.issue.pull_request && !contains(github.event.comment.body, '!skipmysql') && contains(github.event.comment.body, '!verylarge')
112112
run: |
113-
echo "## Very Large MySQL payload run (5MB)" >> benchmark-mysql.md
113+
echo "## Very Large MySQL payload run (5MB)" >> benchmark.md
114114
hyperfine --show-output --warmup 1 --export-markdown bench-mysql-vl.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'
115-
cat bench-mysql-vl.md >> benchmark-mysql.md
115+
cat bench-mysql-vl.md >> benchmark.md
116116
117117
- name: Run very large SQLite benchmarks
118118
if: github.event.issue.pull_request && !contains(github.event.comment.body, '!skipsqlite') && contains(github.event.comment.body, '!verylarge')
119119
run: |
120-
echo "## Very Large SQLite payload run (5MB)" >> benchmark-sqlite.md
120+
echo "## Very Large SQLite payload run (5MB)" >> benchmark.md
121121
hyperfine --show-output --warmup 1 --export-markdown bench-sqlite-vl.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'
122-
cat bench-sqlite-vl.md >> benchmark-sqlite.md
122+
cat bench-sqlite-vl.md >> benchmark.md
123123
124124
- name: Run very large Redis benchmarks
125125
if: github.event.issue.pull_request && !contains(github.event.comment.body, '!skipredis') && contains(github.event.comment.body, '!verylarge')
126126
run: |
127-
echo "## Very Large Redis payload run (5MB)" >> benchmark-redis.md
127+
echo "## Very Large Redis payload run (5MB)" >> benchmark.md
128128
hyperfine --show-output --warmup 1 --export-markdown bench-redis-vl.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'
129-
cat bench-redis-vl.md >> benchmark-redis.md
129+
cat bench-redis-vl.md >> benchmark.md
130130
131131
- name: Write a new comment
132132
uses: peter-evans/create-or-update-comment@v2

0 commit comments

Comments
 (0)