Skip to content

Commit

Permalink
Merge pull request #1459 from vext01/bmark-in-ci
Browse files Browse the repository at this point in the history
Add a quick benchmarking run to CI.
  • Loading branch information
ltratt authored Nov 12, 2024
2 parents 3179eb5 + 440e9c0 commit 285ecbc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .buildbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,20 @@ for tracer in $TRACERS; do
echo "===> Running ${tracer} tests"
RUST_TEST_SHUFFLE=1 cargo test --release

# test yklua/hwt in release mode.
if [ "${tracer}" = "hwt" ]; then
# test yklua/hwt in release mode.
PATH=$(pwd)/bin:${PATH} YK_BUILD_TYPE=release YKB_TRACER=hwt test_yklua

# Do a quick run of the benchmark suite as a smoke test.
pipx install rebench
git clone https://github.com/ykjit/yk-benchmarks
cd yk-benchmarks
ln -s ../yklua .
sed -e 's/executions: \[Lua, YkLua\]/executions: [YkLua]/' \
-e 's/executable: yklua/executable: lua/' \
rebench.conf > rebench2.conf
~/.local/bin/rebench --quick --no-denoise -c rebench2.conf
cd ..
fi
done

Expand Down
2 changes: 1 addition & 1 deletion .buildbot_dockerfile_debian
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
rm -f /etc/apt/apt.conf.d/docker-clean && \
apt-get update && \
apt-get -y install clang-15 make curl procps file git cmake python3 \
libtinfo-dev libzip-dev mold ninja-build gdb && \
libtinfo-dev libzip-dev mold ninja-build gdb pipx && \
update-alternatives --install /usr/bin/cc cc /usr/bin/clang-15 999 && \
update-alternatives --set cc /usr/bin/clang-15 && \
update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-15 999 && \
Expand Down

0 comments on commit 285ecbc

Please sign in to comment.