Skip to content

Commit 01a0524

Browse files
authored
chore: move benchmarking script to this repo (#8718)
Corresponding to Kha/lean-bench@d3f39f8
1 parent 551e755 commit 01a0524

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

script/bench.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
# We benchmark against stage 2 to test new optimizations.
5+
timeout -s KILL 1h time bash -c 'mkdir -p build/release; cd build/release; cmake ../.. && make -j$(nproc) stage2' 1>&2
6+
export PATH=$PWD/build/release/stage2/bin:$PATH
7+
cd tests/bench
8+
timeout -s KILL 1h time temci exec --config speedcenter.yaml --in speedcenter.exec.velcom.yaml 1>&2
9+
temci report run_output.yaml --reporter codespeed2

0 commit comments

Comments
 (0)