Skip to content

Commit

Permalink
Testing codspeed
Browse files Browse the repository at this point in the history
  • Loading branch information
kotsaloscv committed Feb 6, 2025
1 parent 137d8b7 commit 1a40393
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
11 changes: 3 additions & 8 deletions ci/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@ include:
stage: benchmark
variables:
CODSPEED_RUNNER_VERSION: 3.2.0
script:
- echo "INSTALLING CODSPEED"
- echo $CODSPEED_TOKEN
before_script:
- curl -fsSL https://github.com/CodSpeedHQ/runner/releases/download/v$CODSPEED_RUNNER_VERSION/codspeed-runner-installer.sh | bash -s
- source $HOME/.cargo/env
- which codspeed
- ls -l $HOME/.cargo/bin
- export PATH=$HOME/.cargo/bin:$PATH
- echo "CHECK PATH FOR CODSPEED"
- echo $PATH
script:
- export PATH=$PATH:$HOME/.cargo/bin
- env -u GITLAB_CI BUILDKITE=true BUILDKITE_AGENT_NAME=7b10eca7600b-1 BUILDKITE_BRANCH=codspeed BUILDKITE_BUILD_NUMBER=$CI_JOB_ID BUILDKITE_COMMIT=$CI_COMMIT_SHA BUILDKITE_ORGANIZATION_SLUG=C2SM BUILDKITE_PIPELINE_SLUG="my-test-run" BUILDKITE_PULL_REQUEST_BASE_BRANCH=main BUILDKITE_PULL_REQUEST=657 [email protected]:C2SM/icon4py.git CODSPEED_LOG=debug codspeed run -- nox -s benchmark_model-3.10 --reuse-existing-virtualenvs --no-install -- --backend=$BACKEND --grid=$GRID
parallel:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions ci/docker/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ RUN apt-get update -qq && apt-get install -qq -y --no-install-recommends \
libreadline-dev \
git \
rustc \
htop libc6-dbg && \
# gdb libbabeltrace1 libc6-dbg libdebuginfod-common libdebuginfod1 libdw1 libelf1 libsource-highlight-common libsource-highlight4v5 && \
htop \
libc6-dbg && \
rm -rf /var/lib/apt/lists/*

RUN wget -P /tmp https://github.com/CodSpeedHQ/valgrind-codspeed/releases/download/3.21.0-0codspeed3/valgrind_3.21.0-0codspeed3_ubuntu-22.04_arm64.deb && apt install -y /tmp/valgrind_3.21.0-0codspeed3_ubuntu-22.04_arm64.deb && rm /tmp/valgrind_3.21.0-0codspeed3_ubuntu-22.04_arm64.deb
Expand Down

0 comments on commit 1a40393

Please sign in to comment.