Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] support execute until segment #1251

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

luffykai
Copy link
Contributor

fix INT-3004

Copy link

group app.proof_time_ms app.cycles app.cells_used leaf.proof_time_ms leaf.cycles leaf.cells_used
verify_fibair (+25 [+1.1%]) 2,321 513,747 19,385,753 - - -
fibonacci_program (+103 [+1.7%]) 6,128 1,500,137 51,487,838 - - -
regex_program (-110 [-0.6%]) 17,753 4,190,904 165,010,909 - - -
ecrecover_program (+21 [+0.8%]) 2,616 285,401 15,075,033 - - -

Commit: 3eedf33

Benchmark Workflow

loop {
let mut one_segment_result =
self.execute_until_segment(exe.clone(), memory, streams, segment_idx, pc)?;
streams = one_segment_result.segment.chip_complex.take_streams();
Copy link
Contributor

Choose a reason for hiding this comment

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

this is unrelated, but could you see if you can take the cycle tracker from the previous segment and pass it to the next segment? currently it's causing multi-segment flamegraphs to break

Copy link
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

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

LGTM but @nyunyunyunyu please also take a look

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