/wasmarking

Testing how (in)efficient it is to generate SNARK proofs in a browser

Primary LanguageRustApache License 2.0Apache-2.0

wasmarking

Testing performance of generating SNARK proofs in native and browser (WASM) environments.

To run all benchmarks:

 make bench

Running wasm benchmarks

 cargo install wasm-pack --no-default-features
 wasm-pack test --release --headless --firefox

or

 make wasm-bench

Running native benchmarks

 cargo install cargo-criterion
 cargo criterion

or

 make native-bench

License

The code in this repository is licensed under the terms of Apache License 2.0.