Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.61 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.61 KB

keccak-circuit-benchmarks

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.

Implementations

Running benchmarks

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