File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 79
79
80
80
- name : Run large benchmarks
81
81
if : github.event.issue.pull_request && contains(github.event.comment.body, '!large')
82
+ run :
83
+ echo "## Large payload run (1MB)" >> benchmark.md
84
+ 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'
85
+ 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'
86
+ 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
91
+ cat bench-redis-l.md >> benchmark.md
92
+
93
+
94
+ - name : Run very large benchmarks
95
+ if : github.event.issue.pull_request && contains(github.event.comment.body, '!verylarge')
82
96
run :
83
97
echo "## Large payload run (5MB)" >> benchmark.md
84
98
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'
You can’t perform that action at this time.
0 commit comments