Small Field Arithmetic

SmallFp Benchmarks

Field arithmetic performance across six Rust implementations. Same hardware, same conditions.

6
Libraries compared
4
Primes
4
Operations

Performance

Wall-clock time for core field operations across six libraries. Lower is better. All benchmarks run on identical hardware under identical conditions.

* Not all implementations support all primes. A missing bar means the library does not provide that prime.

Methodology

Reproducible benchmarks you can run yourself.

Hardware

Apple M2 Pro, 32 GB unified memory. Single-threaded. Results will vary by platform — run locally for your hardware.

Toolchain

Rust nightly (2025-11-09), criterion.rs v0.5. 200 samples per benchmark, reporting mean wall-clock time.

Reproduce

Clone the repo, run cargo bench. Raw data and benchmark harness in /benches.

Fairness

All implementations compiled with identical flags (-C target-cpu=native). No implementation-specific tuning. Latest stable release of each library.

Built for arkworks by Ben, Andrew, and maintainers.