Skip to content
Closed
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
8 changes: 3 additions & 5 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:
submodules: true

- uses: ./.github/actions/setup-uv
with:
enable-cache: "false"

- uses: ./.github/actions/build-evm-base
id: evm-builder
Expand All @@ -51,7 +49,7 @@ jobs:
sanity-checks:
name: ${{ matrix.name }}
needs: [unit-tests]
runs-on: ubuntu-latest
runs-on: [self-hosted-ghr, size-xl-x64]
strategy:
fail-fast: false
matrix:
Expand All @@ -68,8 +66,8 @@ jobs:
submodules: true

- uses: ./.github/actions/setup-uv
with:
enable-cache: "false"

- uses: ./.github/actions/setup-env

- name: Install PyPy for bench-gas json_loader verify
if: matrix.recipe == 'bench-gas'
Expand Down
11 changes: 7 additions & 4 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ bench-gas *args:
--generate-all-formats \
--fork Osaka \
-m "not slow" \
-n auto --maxprocesses 10 --dist=loadgroup \
-n auto --dist=loadgroup \
--durations=100 \
--output="{{ output_dir }}/bench-gas/fixtures" \
--basetemp="{{ output_dir }}/bench-gas/tmp" \
--log-to "{{ output_dir }}/bench-gas/logs" \
Expand All @@ -243,7 +244,7 @@ bench-gas *args:
cd tests/json_loader && uv run --python pypy3.11 pytest \
--fork Osaka \
--allow-post-state-hash \
-n auto --maxprocesses 10 --dist=loadfile \
-n auto --dist=loadfile \
--basetemp="{{ output_dir }}/bench-gas/json-loader-tmp" \
bench_gas_fixtures

Expand All @@ -256,7 +257,8 @@ bench-opcode *args:
--fixed-opcode-count 1 \
--fork Osaka \
-m repricing \
-n auto --maxprocesses 10 --dist=loadgroup \
-n auto --dist=loadgroup \
--durations=100 \
-k "not test_alt_bn128 and not test_bls12_381 and not test_modexp and not uncachable" \
--output="{{ output_dir }}/bench-opcode/fixtures" \
--basetemp="{{ output_dir }}/bench-opcode/tmp" \
Expand All @@ -275,7 +277,8 @@ bench-opcode-config *args:
--fixed-opcode-count \
--fork Osaka \
-m repricing \
-n auto --maxprocesses 10 --dist=loadgroup \
-n auto --dist=loadgroup \
--durations=100 \
-k "not test_alt_bn128 and not test_bls12_381 and not test_modexp and not test_point_evaluation_uncachable" \
--output="{{ output_dir }}/bench-opcode-config/fixtures" \
--basetemp="{{ output_dir }}/bench-opcode-config/tmp" \
Expand Down
Loading