Skip to content

Comments

feat: add CPU usage stats logging for sequencer tasks#20730

Draft
ludamad wants to merge 2 commits intomerge-train/spartanfrom
ad/feat/add-cpu-stats-logging
Draft

feat: add CPU usage stats logging for sequencer tasks#20730
ludamad wants to merge 2 commits intomerge-train/spartanfrom
ad/feat/add-cpu-stats-logging

Conversation

@ludamad
Copy link
Collaborator

@ludamad ludamad commented Feb 20, 2026

Add CPU usage statistics annotations at the beginning and end of sequencer task logging to understand CPU contention during execution. This instrumentation will help identify performance bottlenecks in tasks like verifyProofForCircuit. The feature only wraps blackbox calls to minimize overhead.

Log process.cpuUsage() before and after each executeBB invocation
(executeBbChonkProof, generateProof, generateAvmProof, verifyProofInternal)
to surface CPU contention during tasks like verifyProofForCircuit.
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.

1 participant