Repository navigation
Conversation
Add --dump-r1-stats to evmCacheComplexityDemo and scripts that replay the paper contract hex corpus. Does not implement cross-block absinterp. Co-authored-by: zoowii <zoowii@users.noreply.github.com>
Add measured PolyBench multipass timings, paper-hex jump/SPP counters, and the bilingual baseline report. Still no cross-block absinterp. Co-authored-by: zoowii <zoowii@users.noreply.github.com>
Add a fail-closed worklist (Const / ConstSet / Top) that commits single- and multi-target JUMP/JUMPI edges before buildCFGEdges. A reached Top dest or non-converged fixpoint leaves today's ImplicitDynamicPredCount semantics unchanged. Interpreter GasChunkCost and lemma614Update are not rewritten. Co-authored-by: zoowii <zoowii@users.noreply.github.com>
Measure absinterp×SPP on the 12 paper runtime hexes. Unresolved counts never increase; factory/router drop 1–2 jumps; SPP still shifts 0 chunks. Cache-build cost is real (up to ~6× on erc20). Co-authored-by: zoowii <zoowii@users.noreply.github.com>
⚡ Performance Regression Check Results
|
This was referenced Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Cross-block abstract interpretation (
Const/ConstSet/Top) for EVMJUMP/JUMPI, feeding existing GasSection SPP (lemma614Update). Measurement scaffolding and 2×2 A/B on paper contract hexes.Originally opened as draft on the fork: zoowii#12
Scope
src/evm/evm_absinterp.cpp+ wire-up in bytecode cache beforebuildCFGEdges/ SPPZEN_EVM_DISABLE_R1=1or--r1 offGasChunkCostMeasured result (important)
On the 12 paper runtime hexes, SPP still shifts 0 chunks with R1 on: one remaining Top/computed jump still stamps every JUMPDEST. Cache-build cost rises (+7% … ~6× on erc20). Do not treat as a headline runtime −X% claim; keep as sound analysis / H2 enabling work. Full tables:
artifacts/r1-phase2-ab.md.Tests
evmCacheTests20/20 (Const, ConstSet multi-target, Top fail-closed, gas array unchanged).Draft for upstream review; please do not merge until maintainers decide whether to land the analysis scaffolding given the negative SPP result on this corpus.