Skip to content

Commit 983abca

Browse files
committed
ci: add state pressure benchmark to CI workflow
1 parent 018ea3c commit 983abca

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,28 @@ jobs:
100100
-run='^TestSpamoorSuite$/^TestERC20Throughput$' -v -timeout=15m \
101101
./benchmark/ --evm-binary=../../../build/evm
102102
103+
state-pressure-benchmark:
104+
name: State Pressure Benchmark
105+
runs-on: ubuntu-latest
106+
timeout-minutes: 30
107+
steps:
108+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
109+
- name: Set up Go
110+
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
111+
with:
112+
go-version-file: ./go.mod
113+
- name: Set up Docker Buildx
114+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
115+
- name: Install just
116+
uses: extractions/setup-just@v3
117+
- name: Build binaries
118+
run: just build-evm build-da
119+
- name: Run state pressure test
120+
run: |
121+
cd test/e2e && go test -tags evm \
122+
-run='^TestSpamoorSuite$/^TestStatePressure$' -v -timeout=15m \
123+
./benchmark/ --evm-binary=../../../build/evm
124+
103125
# single job to push all results to gh-pages sequentially, avoiding race conditions
104126
publish-benchmarks:
105127
name: Publish Benchmark Results

0 commit comments

Comments
 (0)