Skip to content

Commit 2ef8e0b

Browse files
committed
Merge branch 'cian/experiment-with-granularspans' into cian/update-ev-reth-spans
2 parents af7cba2 + c1da279 commit 2ef8e0b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/benchmark.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,11 @@ jobs:
8484
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
8585
with:
8686
name: spamoor-benchmark-results
87+
path: test/e2e/
8788

8889
# only update the benchmark baseline on push/dispatch, not on PRs
8990
- name: Store EVM Contract Roundtrip result
91+
if: always()
9092
uses: benchmark-action/github-action-benchmark@4bdcce38c94cec68da58d012ac24b7b1155efe8b # v1.20.7
9193
with:
9294
name: EVM Contract Roundtrip
@@ -101,9 +103,11 @@ jobs:
101103

102104
# delete local gh-pages so the next benchmark action step fetches fresh from remote
103105
- name: Reset local gh-pages branch
106+
if: always()
104107
run: git branch -D gh-pages || true
105108

106109
- name: Store Block Executor result
110+
if: always()
107111
uses: benchmark-action/github-action-benchmark@4bdcce38c94cec68da58d012ac24b7b1155efe8b # v1.20.7
108112
with:
109113
name: Block Executor Benchmark
@@ -118,9 +122,11 @@ jobs:
118122

119123
# delete local gh-pages so the next benchmark action step fetches fresh from remote
120124
- name: Reset local gh-pages branch
125+
if: always()
121126
run: git branch -D gh-pages || true
122127

123128
- name: Store Spamoor Trace result
129+
if: always()
124130
uses: benchmark-action/github-action-benchmark@4bdcce38c94cec68da58d012ac24b7b1155efe8b # v1.20.7
125131
with:
126132
name: Spamoor Trace Benchmarks
@@ -130,5 +136,5 @@ jobs:
130136
save-data-file: ${{ github.event_name != 'pull_request' }}
131137
github-token: ${{ secrets.GITHUB_TOKEN }}
132138
alert-threshold: '150%'
133-
fail-on-alert: true
139+
fail-on-alert: false
134140
comment-on-alert: true

test/e2e/evm_test_common.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -967,8 +967,6 @@ func writeTraceBenchmarkJSON(t testing.TB, label string, spans []traceSpan, outp
967967
avg := float64(s.total.Microseconds()) / float64(s.count)
968968
entries = append(entries,
969969
benchmarkEntry{Name: fmt.Sprintf("%s - %s (avg)", label, name), Unit: "us", Value: avg},
970-
benchmarkEntry{Name: fmt.Sprintf("%s - %s (min)", label, name), Unit: "us", Value: float64(s.min.Microseconds())},
971-
benchmarkEntry{Name: fmt.Sprintf("%s - %s (max)", label, name), Unit: "us", Value: float64(s.max.Microseconds())},
972970
)
973971
}
974972

0 commit comments

Comments
 (0)