Benchmarks of all public available SNARK/STARK keccak circuits
This repository contains benchmarks of implementations keccak circuits using different frameworks, and can be extended more in the future (feel free to add new implementations). Short description of benchmarking and results of comparison implementations effectivness by Maru, Axiom, JumpCrypto you can find by link. The full benchmarking description of each params and operations used in circuit implementations you can find by link.
- Axiom using halo2-lib
- JumpCrypto using plonky2
- Maru implementation using plonky2 and starky
- Polygon Zero implementation using plonky3
Dependencies: rust with nightly
To run Axiom benchmark:
cd Axiom/hashes/zkevm-keccak
RUST_LOG=info cargo test -- --nocapture packed_multi_keccak_prover
To run JumpCrypto benchmark:
cd JumpCrypto
cargo run --release
To run Maru benchmark:
cd Maru/keccak_ctl
RUSTFLAGS=-Ctarget-cpu=native cargo run --release
To run Polygon Zero benchmark:
cd PolygonZero-plonky3/Plonky3/keccak-air
cargo bench -- --nocapture