Skip to content
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
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