This benchmarking suite extract the various characteristics of the CometBLS ZK circuit (constraints, coefficients, size of public/secret inputs...) and provide an accurate end-to-end time measurement of a proving roundtrip through gRPC (client requesting the server to prove).
The suite is sequentially benchmarking the circuit for 4, 8, 16, 32, 64, 128 maximum validators.
Reference (c6i.x32large) specs:
- 256G RAM
- 128 CPU
- 256G DISK
- Install nix:
sh <(curl -L https://nixos.org/nix/install) --daemon
. - Generate a GitHub PAT to run the command. The PAT must have read-only access to both
unionlabs/union
andunionlabs/galois-benchmark
. - Run the following command:
nix --extra-experimental-features nix-command --extra-experimental-features flakes run github:unionlabs/galois-benchmark#benchmark -L --option access-tokens github.com=<YOUR_GITHUB_PAT> -- --output $(pwd)/report.html