This repository contains a set of benchmarks for the ffjavascript (wasmcurves) and Arkworks. We are comparing
multi-exponentiation on the BLS12-381 curve.
First, build WASM dependencies with:
bash scripts/build.bashYou may run tests with:
bash scripts/test.bashCompare performance of ffjavascript, ark-*@0.5.0 and ark-*@0.4.x crates by running:
bash scripts/benchmark.bashGenerate combined results file and plot results:
# pip install matplotlib
python scripts/plot-benchmark.pySee ./benchmark-results to find persisted benchmark results.
You can view tracing files (JSON files) using CPUPro
