Skip to content

test: skip Proxy-cost V8 microbench to stop noisy CI perf alerts - #9502

Closed
lodekeeper wants to merge 1 commit into
ChainSafe:unstablefrom
lodekeeper:fix/skip-noisy-proxy-microbench
Closed

test: skip Proxy-cost V8 microbench to stop noisy CI perf alerts#9502
lodekeeper wants to merge 1 commit into
ChainSafe:unstablefrom
lodekeeper:fix/skip-noisy-proxy-microbench

Conversation

@lodekeeper

Copy link
Copy Markdown
Contributor

Summary

packages/state-transition/test/perf/misc/proxy.test.ts is a tight 100K-iteration hot loop measuring V8's Proxy.get overhead as a baseline reference. With no per-iteration work besides the property read, results are dominated by V8 inline-cache and engine-version effects and have very high run-to-run variance on the shared CI runner.

No src/ code uses new Proxy(...), so this benchmark isn't tracking a real regression surface. This PR switches the three Proxy-cost benches to bench.skip(...) so CI stops generating false-positive alerts on unrelated PRs. The source code stays in place so it can be flipped back to bench(...) locally for ad-hoc measurements (see the new docstring on the describe block).

Test plan

  • CI: Benchmark job no longer emits alerts on the Proxy-cost suite.
  • CI: Type Checks / Unit Tests unaffected (skip doesn't touch the test discovery).

🤖 Generated with Claude Code

`packages/state-transition/test/perf/misc/proxy.test.ts` is a tight
100K-iteration hot loop measuring V8's Proxy.get overhead as a baseline
reference. With no per-iteration work besides the property read, results
are dominated by V8 inline-cache + engine-version effects and have very
high run-to-run variance on the shared CI runner — `arrayWithProxy get
100000 times` tripped a 3.73x alert on PR ChainSafe#9494 with no Lodestar code
change touching this path, and `proposeBlockBody type=full, size=empty`
and `Full columns - reconstruct half of the blobs out of 20` have fired
similarly on other unrelated PRs.

No `src/` code uses `new Proxy(...)`, so this benchmark isn't tracking a
real regression surface. Switch to `bench.skip(...)` in CI to stop
generating false-positive alerts on unrelated PRs. The source stays in
place so it can be flipped back to `bench(...)` locally for ad-hoc
measurements.

🤖 Generated with AI assistance
@lodekeeper
lodekeeper requested a review from a team as a code owner June 10, 2026 14:56

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request disables the 'Proxy cost' microbenchmarks in CI by updating the benchmark calls to bench.skip. It also adds a detailed JSDoc comment explaining that these benchmarks are prone to high run-to-run variance on shared CI runners and do not track active production code paths. There are no review comments, so no additional feedback is provided.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@nflaig

nflaig commented Jul 4, 2026

Copy link
Copy Markdown
Member

haven't seen benchmark failures due to these recently, closing

@nflaig nflaig closed this Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants