Skip to content

Commit 5919c5b

Browse files
authored
enhance(ci): add fast benchmark artifact workflow (#1827)
* enhance(ci): add fast benchmark artifact workflow * chore: address review comments
1 parent c36c923 commit 5919c5b

File tree

4 files changed

+48
-0
lines changed

4 files changed

+48
-0
lines changed

.github/configs/feature.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ benchmark_develop:
1818
fill-params: --fork=Osaka --gas-benchmark-values 1,10,30,60,100,150 -m "benchmark and not state_test" ./tests/benchmark
1919
feature_only: true
2020

21+
benchmark_fast:
22+
evm-type: benchmark
23+
fill-params: --fork=Prague --gas-benchmark-values 100 -m "benchmark and not state_test" ./tests/benchmark
24+
feature_only: true
25+
2126
bal:
2227
evm-type: develop
2328
fill-params: --fork=Amsterdam ./tests/amsterdam/eip7928_block_level_access_lists
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build Benchmark Fixtures
2+
3+
on:
4+
push:
5+
branches:
6+
- "forks/osaka"
7+
- "forks/amsterdam"
8+
paths:
9+
# Benchmark test files
10+
- "tests/benchmark/**"
11+
# Precompile specs used by benchmark tests
12+
- "tests/prague/eip2537_bls_12_381_precompiles/spec.py"
13+
- "tests/osaka/eip7951_p256verify_precompiles/spec.py"
14+
# Benchmark specific framework files
15+
- "packages/testing/src/execution_testing/benchmark/**"
16+
# CI benchmark configuration
17+
- ".github/configs/evm.yaml"
18+
- ".github/configs/feature.yaml"
19+
- ".github/actions/build-fixtures/**"
20+
- ".github/actions/build-evm-base/**"
21+
- ".github/actions/build-evm-client/evmone/**"
22+
# This workflow itself
23+
- ".github/workflows/artifact_benchmark_fast.yaml"
24+
workflow_dispatch:
25+
26+
concurrency:
27+
group: ${{ github.workflow }}
28+
cancel-in-progress: true
29+
30+
jobs:
31+
build:
32+
runs-on: [self-hosted-ghr, size-gigachungus-x64]
33+
timeout-minutes: 720
34+
steps:
35+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
36+
with:
37+
submodules: true
38+
39+
- uses: ./.github/actions/build-fixtures
40+
with:
41+
release_name: benchmark_fast
42+
uv_version: ${{ vars.UV_VERSION }}
43+
python_version: ${{ vars.DEFAULT_PYTHON_VERSION }}

0 commit comments

Comments
 (0)