perf(l1): remove rayon from eip-8025 execution path #6560
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.31) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.31 · 111 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.282
Real PR Conversation Timeline
1 comments
"Review active on #6560"
general
weight: 0.35
benbencik
Motivation
Observed that execution of the Ethrex guest program in ziskVM makes calls to
rayon. However, the execution inside the zkVM is strictly sequential, sorayonprovides no benefit and only adds runtime overhead.Description
This change uses the
eip-8025feature to control parallel execution paths. A few methods are removed from theeip-8025build, and some have a new sequential fallback that replaces the parallel iterator with standard iterator._Note:_ The
eip-8025continues to usestd::syncwhich is also redundant. Removing it would require a larger refactor (perhaps future work).Results
Profiling in ZisK v0.16.1 on 25 mainnet blocks 24949787 - 24949836:
1c5e518f8): 55.69BThe change decreases costs by 4-5% and reduces the complexity of the code running inside zkVM.