Skip to content

Commit

Permalink
Add api benchmark to pipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HeinrichApfelmus committed Apr 1, 2023
1 parent 2cec1ef commit c979244
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .buildkite/pipeline.yml
Expand Up @@ -127,6 +127,24 @@ steps:
env:
TMPDIR: "/cache"

- block: 'Run benchmark (api)'
depends_on: linux-nix
key: trigger-benchmark-api

- label: 'Run benchmark (api)'
command: "./.buildkite/bench-api.sh"
depends_on: trigger-benchmark-api
timeout_in_minutes: 20
agents:
system: x86_64-linux
# We do not use the benchmark queue here, as we don't want
# to use system resources that are intended for long-running processes
# to perform quick-and-dirty benchmark runs.
# queue: benchmark
if: 'build.env("step") == null || build.env("step") =~ /bench-api/'
env:
TMPDIR: "/cache"

- label: 'Check nix (macOS)'
key: macos-nix
depends_on: linux-nix
Expand Down

0 comments on commit c979244

Please sign in to comment.