https://github.com/cardinal-cryptography/wasmarking
Testing how (in)efficient it is to generate SNARK proofs in a browser
https://github.com/cardinal-cryptography/wasmarking
Last synced: 7 days ago
JSON representation
Testing how (in)efficient it is to generate SNARK proofs in a browser
- Host: GitHub
- URL: https://github.com/cardinal-cryptography/wasmarking
- Owner: Cardinal-Cryptography
- License: apache-2.0
- Created: 2023-01-27T07:16:55.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-05T09:59:48.000Z (about 3 years ago)
- Last Synced: 2025-02-26T10:46:27.440Z (over 1 year ago)
- Language: Rust
- Size: 80.1 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wasmarking
Testing performance of generating SNARK proofs in native and browser (WASM) environments.
To run all benchmarks:
```shell
make bench
```
## Running wasm benchmarks
```shell
cargo install wasm-pack --no-default-features
wasm-pack test --release --headless --firefox
```
or
```shell
make wasm-bench
```
## Running native benchmarks
```shell
cargo install cargo-criterion
cargo criterion
```
or
```shell
make native-bench
```
## License
The code in this repository is licensed under the terms of Apache License 2.0.