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

chore: change keccak256 to precompiled keccak in revme #212

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

VanhGer
Copy link
Contributor

@VanhGer VanhGer commented Jan 11, 2025

This optimization helps reduce the size of the tables, which are the total cells we commit. Therefore, it reduces the total proving time.

Here are the metrics before this opt:
Screenshot from 2025-01-11 20-36-48
As you can see, the total number of committed cells is up to 2*10^8 and the proving time is ~ 170s

After this optimization, the number of committed cells decreases to ~ 1.5 * 10^8 ( 25% reduction ), and the proving is reduced to 143s
Screenshot from 2025-01-11 20-37-44

@eigmax
Copy link
Member

eigmax commented Jan 11, 2025

Plz update the example in project-template too. https://github.com/zkMIPS/zkm-project-template/tree/main/guest-program/revme

@eigmax eigmax merged commit 19a3c5c into zkMIPS:main Jan 11, 2025
3 checks passed
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