Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a quick benchmarking run to CI. #1459

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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