Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 867 Bytes

README.md

File metadata and controls

43 lines (27 loc) · 867 Bytes

wasm-multiexp-bench

This repository contains a set of benchmarks for the ffjavascript (wasmcurves) and Arkworks. We are comparing multi-exponentiation on the BLS12-381 curve.

Usage

First, build WASM dependencies with:

bash scripts/build.bash

You may run tests with:

bash scripts/test.bash

Benchmarks

Compare performance of ffjavascript, ark-*@0.5.0 and ark-*@0.4.x crates by running:

bash scripts/benchmark.bash

Generate combined results file and plot results:

# pip install matplotlib
python scripts/plot-benchmark.py

Results

See ./benchmark-results to find persisted benchmark results.

You can view tracing files (JSON files) using CPUPro

Performance comparison

performance comparison