Performance and Benchmarks
In summary:
Both native witness generation and proof generation are generally faster than snarkjs
in the browser, with potential speed improvements of up to 20 times.
However, performance varies across different circuits.
We recommend developers benchmark their custom circuits before selecting tools for app development.
warning
- witnesscalc hasn't been integrated in mopro. See zkmopro/mopro#110.
- circom-witness-rs is not fully compatible with circom circuits. See: zkmopro/mopro#32.
- wasmer doesn't work in iOS. See: zkmopro/mopro#109.
iOS
Benchmarks on an iPhone 12 mini (2020).
Witness generation
Proof generation
Details: Spreadsheet of Circom benchmark (iOS)
note
- Tachyon performs well in macOS, but we haven't integrated it in mobile. See zkmopro/mopro#143
Android
TBD
macOS
Benchmarks on an Macbook Pro M1 Max (2021).