Skip to content

Commit

Permalink
fix(benchmark): fix CI on master (#1117)
Browse files Browse the repository at this point in the history
  • Loading branch information
glevco authored Aug 21, 2024
1 parent 411fb65 commit 7ccc846
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/base_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
with:
python: 3.11
os: ubuntu-22.04
- name: Set env vars
run: cat ./extras/benchmarking/.env >> $GITHUB_ENV
- name: Track base branch benchmarks with Bencher
run: |
bencher run \
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/pr_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ jobs:
permissions:
pull-requests: write
runs-on: ubuntu-22.04
env:
N_BLOCKS: 20000
CACHE_SIZE: 100000
SERVER_DATA_DIR: server-data
TCP_PORT: 40403
N_RUNS: 2
BENCH_FILE: bench_results.json
BENCH_DATA_DIR: bench-data
steps:
- uses: actions/checkout@v4
- uses: bencherdev/bencher@main
Expand All @@ -33,6 +25,8 @@ jobs:
with:
python: 3.11
os: ubuntu-22.04
- name: Set env vars
run: cat ./extras/benchmarking/.env >> $GITHUB_ENV
- name: Download benchmark data
run: |
mkdir $SERVER_DATA_DIR
Expand Down
7 changes: 7 additions & 0 deletions extras/benchmarking/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
N_BLOCKS=20000
CACHE_SIZE=100000
SERVER_DATA_DIR=server-data
TCP_PORT=40403
N_RUNS=2
BENCH_FILE=bench_results.json
BENCH_DATA_DIR=bench-data

0 comments on commit 7ccc846

Please sign in to comment.