-
Notifications
You must be signed in to change notification settings - Fork 116
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
Reimplement snarky backend with TS bigints #1092
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an awesome improvement!
Final update: After measuring the timings again on main, the proof creation time improved further.
|
This PR
bindings.js
in TS with bigints, thus giving snarky-ml a faster backendResults:
closes #1063
closes #1066
bindings: o1-labs/o1js-bindings#127
mina: MinaProtocol/mina#13966
snarky: o1-labs/snarky#830
Note for reviewers: 90% of the changes happen in the binding repo
Benchmark 1: Pure witness generation
times:
Field.{zero, one}
Improvement: 83%
Benchmark 2: Series of multi-contract interactions with proving (DEX)
Total time on main: 393 sec
Total time on this PR: 303 sec
Improvement: 23%
Time for the swap proof (main): 52 sec
Time for the swap proof (this PR): 39 sec
Improvement: 25%
Full timing output (main):
Full timing output (this PR):