chore: move benchmarking script to this repo (#8718)

Corresponding to
d3f39f8343
This commit is contained in:
Sebastian Ullrich 2025-06-11 14:27:06 +02:00 committed by GitHub
parent 551e755d23
commit 01a0524749
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

9
script/bench.sh Executable file
View file

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