Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.57 KB

BENCHMARKS.md

File metadata and controls

32 lines (23 loc) · 1.57 KB

Benchmarks

Encrypt message

BLS12-381 BLS12-377
6.07ms (✅ 1.00x) 4.09ms (🚀 1.48x faster)

Decrypt message

BLS12-381 BLS12-377
2.51ms (✅ 1.00x) 2.71ms (❌ 1.07x slower)

Setup circuit

Groth16 (native BLS12-377/BW6-761) Groth16 (non-native BLS12-381/BW6-761) Gemini (native BLS12-381/YT6-776)
1.48s (✅ 1.00x) 673s (❌ 454x slower) 1.13s (🚀 1.3x faster)

Generate proof

Groth16 (native BLS12-377/BW6-761) Groth16 (non-native BLS12-381/BW6-761) Gemini (native BLS12-381/YT6-776)
1.71s (✅ 1.00x) 398s (❌ 234x slower) 42.8s (❌ 25.02x slower)

Verify proof

Groth16 (native BLS12-377/BW6-761) Groth16 (non-native BLS12-381/BW6-761) Gemini (native BLS12-381/YT6-776)
21.6ms (✅ 1.00x) n/a n/a

Run locally

To perform benchmarks on your machine run cargo bench command.