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
5 changes: 5 additions & 0 deletions .github/configs/feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ benchmark_develop:
fill-params: --fork=Osaka --gas-benchmark-values 1,10,30,60,100,150 -m "benchmark and not state_test" ./tests/benchmark
feature_only: true

benchmark_fast:
evm-type: benchmark
fill-params: --fork=Prague --gas-benchmark-values 100 -m "benchmark and not state_test" ./tests/benchmark
feature_only: true

bal:
evm-type: develop
fill-params: --fork=Amsterdam ./tests/amsterdam/eip7928_block_level_access_lists
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/artifact_benchmark_fast.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build Benchmark Fixtures

on:
push:
branches:
- "forks/osaka"
- "forks/amsterdam"
Comment on lines +6 to +7
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should only generate for the default fork, especially as we only generate benchmark fixtures for Prague. I guess this will be Amsterdam very soon :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree here. There is not an automatic option for default fork here so leaving as is for now.

paths:
# Benchmark test files
- "tests/benchmark/**"
# Precompile specs used by benchmark tests
- "tests/prague/eip2537_bls_12_381_precompiles/spec.py"
- "tests/osaka/eip7951_p256verify_precompiles/spec.py"
# Benchmark specific framework files
- "packages/testing/src/execution_testing/benchmark/**"
# CI benchmark configuration
- ".github/configs/evm.yaml"
- ".github/configs/feature.yaml"
- ".github/actions/build-fixtures/**"
- ".github/actions/build-evm-base/**"
- ".github/actions/build-evm-client/evmone/**"
# This workflow itself
- ".github/workflows/artifact_benchmark_fast.yaml"
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
build:
runs-on: [self-hosted-ghr, size-gigachungus-x64]
timeout-minutes: 720
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true

- uses: ./.github/actions/build-fixtures
with:
release_name: benchmark_fast
uv_version: ${{ vars.UV_VERSION }}
python_version: ${{ vars.DEFAULT_PYTHON_VERSION }}
Loading