@@ -68,65 +68,65 @@ jobs:
68
68
- name : Run MySQL benchmarks
69
69
if : github.event.issue.pull_request && !contains(github.event.comment.body, '!skipmysql')
70
70
run : |
71
- echo "## MySQL run" > benchmark-mysql .md
71
+ echo "## MySQL run" > benchmark.md
72
72
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
74
74
75
75
- name : Run SQLite benchmarks
76
76
if : github.event.issue.pull_request && !contains(github.event.comment.body, '!skipsqlite')
77
77
run : |
78
78
echo "## SQLite run" > benchmark-sqlite.md
79
79
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
81
81
82
82
- name : Run Redis benchmarks
83
83
if : github.event.issue.pull_request && !contains(github.event.comment.body, '!skipredis')
84
84
run : |
85
- echo "## Redis run" > benchmark-redis .md
85
+ echo "## Redis run" > benchmark.md
86
86
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
88
88
89
89
- name : Run large MySQL benchmarks
90
90
if : github.event.issue.pull_request && !contains(github.event.comment.body, '!skipmysql') && contains(github.event.comment.body, '!large')
91
91
run : |
92
- echo "## Large MySQL payload run (1MB)" >> benchmark-mysql .md
92
+ echo "## Large MySQL payload run (1MB)" >> benchmark.md
93
93
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
95
95
96
96
- name : Run large SQLite benchmarks
97
97
if : github.event.issue.pull_request && !contains(github.event.comment.body, '!skipsqlite') && contains(github.event.comment.body, '!large')
98
98
run : |
99
- echo "## Large SQLite payload run (1MB)" >> benchmark-sqlite .md
99
+ echo "## Large SQLite payload run (1MB)" >> benchmark.md
100
100
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
102
102
103
103
- name : Run large Redis benchmarks
104
104
if : github.event.issue.pull_request && !contains(github.event.comment.body, '!skipredis') && contains(github.event.comment.body, '!large')
105
105
run : |
106
- echo "## Large Redis payload run (1MB)" >> benchmark-redis .md
106
+ echo "## Large Redis payload run (1MB)" >> benchmark.md
107
107
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
109
109
110
110
- name : Run very large MySQL benchmarks
111
111
if : github.event.issue.pull_request && !contains(github.event.comment.body, '!skipmysql') && contains(github.event.comment.body, '!verylarge')
112
112
run : |
113
- echo "## Very Large MySQL payload run (5MB)" >> benchmark-mysql .md
113
+ echo "## Very Large MySQL payload run (5MB)" >> benchmark.md
114
114
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
116
116
117
117
- name : Run very large SQLite benchmarks
118
118
if : github.event.issue.pull_request && !contains(github.event.comment.body, '!skipsqlite') && contains(github.event.comment.body, '!verylarge')
119
119
run : |
120
- echo "## Very Large SQLite payload run (5MB)" >> benchmark-sqlite .md
120
+ echo "## Very Large SQLite payload run (5MB)" >> benchmark.md
121
121
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
123
123
124
124
- name : Run very large Redis benchmarks
125
125
if : github.event.issue.pull_request && !contains(github.event.comment.body, '!skipredis') && contains(github.event.comment.body, '!verylarge')
126
126
run : |
127
- echo "## Very Large Redis payload run (5MB)" >> benchmark-redis .md
127
+ echo "## Very Large Redis payload run (5MB)" >> benchmark.md
128
128
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
130
130
131
131
- name : Write a new comment
132
132
uses : peter-evans/create-or-update-comment@v2
0 commit comments