Skip to content

Proof generation performance regression since o1js 2.5.0 #2260

@youtpout

Description

@youtpout

Description

Hello,
I noticed a big drop in performance for proof creation on o1js when I upgraded to version 2.5.0 and higher.
With 2.4.0 , I need like 27s to swap from mina and 19s to swap from token
With 2.5.0 , I need like 35s to swap from mina and 25s to swap from token

How to reproduce

https://github.com/Lumina-DEX/lumina-v1-core/tree/fix/improve-multisig

I launch the benchmark on contract folder
Don't forget to pass proofenabled at true in the benchmark.test.ts file
npm run test:benchmark

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions