Skip to content

Commit f0ff2a8

Browse files
committed
chore: move benchmarking code to this repo
1 parent cf8315e commit f0ff2a8

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)