Skip to content

Instantly share code, notes, and snippets.

@Stebalien
Created September 18, 2024 19:18
Show Gist options
  • Save Stebalien/d6268b5c1abc4aa29857cf7787b205e8 to your computer and use it in GitHub Desktop.
Save Stebalien/d6268b5c1abc4aa29857cf7787b205e8 to your computer and use it in GitHub Desktop.
Gnark Bench
goos: linux
goarch: amd64
pkg: go.dedis.ch/kyber/v4/pairing/bls12381
cpu: AMD Ryzen 7 7840U w/ Radeon 780M Graphics
BenchmarkPairingSeparate/bls12-381.G1-16 849 1338257 ns/op
BenchmarkPairingSeparate/bls12-381.G1#01-16 499 2392080 ns/op
BenchmarkPairingSeparate/bls12-381.G1#02-16 1154 1024133 ns/op
BenchmarkPairingInv/bls12-381.G1-16 879 1351603 ns/op
BenchmarkPairingInv/bls12-381.G1#01-16 500 2378678 ns/op
BenchmarkPairingInv/bls12-381.G1#02-16 1159 1017159 ns/op
BenchmarkKilic/AggregatePublicKeys-G1_on_1_signs-16 2228863 541.6 ns/op
BenchmarkKilic/AggregatePublicKeys-G2_on_1_signs-16 4345117 273.1 ns/op
BenchmarkKilic/AggregateSign-G1_on_1_signs-16 16597 71252 ns/op
BenchmarkKilic/AggregateSign-G2_on_1_signs-16 6807 155031 ns/op
BenchmarkKilic/AggregatePublicKeys-G1_on_10_signs-16 63673 18512 ns/op
BenchmarkKilic/AggregatePublicKeys-G2_on_10_signs-16 165826 6794 ns/op
BenchmarkKilic/AggregateSign-G1_on_10_signs-16 1560 715232 ns/op
BenchmarkKilic/AggregateSign-G2_on_10_signs-16 772 1541218 ns/op
BenchmarkKilic/AggregatePublicKeys-G1_on_100_signs-16 5967 204467 ns/op
BenchmarkKilic/AggregatePublicKeys-G2_on_100_signs-16 16898 71673 ns/op
BenchmarkKilic/AggregateSign-G1_on_100_signs-16 160 7319669 ns/op
BenchmarkKilic/AggregateSign-G2_on_100_signs-16 76 15513093 ns/op
BenchmarkKilic/AggregatePublicKeys-G1_on_1000_signs-16 590 2033398 ns/op
BenchmarkKilic/AggregatePublicKeys-G2_on_1000_signs-16 1558 721169 ns/op
BenchmarkKilic/AggregateSign-G1_on_1000_signs-16 14 73338477 ns/op
BenchmarkKilic/AggregateSign-G2_on_1000_signs-16 7 152984669 ns/op
BenchmarkKilic/AggregatePublicKeys-G1_on_10000_signs-16 55 21646210 ns/op
BenchmarkKilic/AggregatePublicKeys-G2_on_10000_signs-16 157 7367289 ns/op
BenchmarkKilic/AggregateSign-G1_on_10000_signs-16 2 727793196 ns/op
BenchmarkKilic/AggregateSign-G2_on_10000_signs-16 1 1539888685 ns/op
BenchmarkKilic/KeyGen-G1-16 6334 167847 ns/op
BenchmarkKilic/KeyGen-G2-16 15955 75167 ns/op
BenchmarkKilic/Sign-G1-16 6220 187142 ns/op
BenchmarkKilic/Sign-G2-16 2943 397706 ns/op
BenchmarkKilic/Verify-G1-16 1137 1041140 ns/op
BenchmarkKilic/Verify-G2-16 939 1250723 ns/op
BenchmarkCircl/AggregatePublicKeys-G1_on_1_signs-16 442327 2441 ns/op
BenchmarkCircl/AggregatePublicKeys-G2_on_1_signs-16 1490294 804.0 ns/op
BenchmarkCircl/AggregateSign-G1_on_1_signs-16 7728 138531 ns/op
BenchmarkCircl/AggregateSign-G2_on_1_signs-16 3716 289607 ns/op
BenchmarkCircl/AggregatePublicKeys-G1_on_10_signs-16 50755 23632 ns/op
BenchmarkCircl/AggregatePublicKeys-G2_on_10_signs-16 156765 7290 ns/op
BenchmarkCircl/AggregateSign-G1_on_10_signs-16 986 1198139 ns/op
BenchmarkCircl/AggregateSign-G2_on_10_signs-16 444 2715922 ns/op
BenchmarkCircl/AggregatePublicKeys-G1_on_100_signs-16 4742 233309 ns/op
BenchmarkCircl/AggregatePublicKeys-G2_on_100_signs-16 16580 71462 ns/op
BenchmarkCircl/AggregateSign-G1_on_100_signs-16 85 11851268 ns/op
BenchmarkCircl/AggregateSign-G2_on_100_signs-16 38 26955126 ns/op
BenchmarkCircl/AggregatePublicKeys-G1_on_1000_signs-16 505 2371369 ns/op
BenchmarkCircl/AggregatePublicKeys-G2_on_1000_signs-16 1633 735067 ns/op
BenchmarkCircl/AggregateSign-G1_on_1000_signs-16 9 121099850 ns/op
BenchmarkCircl/AggregateSign-G2_on_1000_signs-16 4 269414007 ns/op
BenchmarkCircl/AggregatePublicKeys-G1_on_10000_signs-16 48 23897810 ns/op
BenchmarkCircl/AggregatePublicKeys-G2_on_10000_signs-16 163 7278062 ns/op
BenchmarkCircl/AggregateSign-G1_on_10000_signs-16 1 1180795187 ns/op
BenchmarkCircl/AggregateSign-G2_on_10000_signs-16 1 2682481723 ns/op
BenchmarkCircl/KeyGen-G1-16 1926 558582 ns/op
BenchmarkCircl/KeyGen-G2-16 6325 181379 ns/op
BenchmarkCircl/Sign-G1-16 3632 298870 ns/op
BenchmarkCircl/Sign-G2-16 1010 1138702 ns/op
BenchmarkCircl/Verify-G1-16 608 1922730 ns/op
BenchmarkCircl/Verify-G2-16 472 2510400 ns/op
BenchmarkGnark/AggregatePublicKeys-G1_on_1_signs-16 13931642 80.44 ns/op
BenchmarkGnark/AggregatePublicKeys-G2_on_1_signs-16 22011075 47.86 ns/op
BenchmarkGnark/AggregateSign-G1_on_1_signs-16 18189 66157 ns/op
BenchmarkGnark/AggregateSign-G2_on_1_signs-16 6670 164382 ns/op
BenchmarkGnark/AggregatePublicKeys-G1_on_10_signs-16 95961 12496 ns/op
BenchmarkGnark/AggregatePublicKeys-G2_on_10_signs-16 265497 4387 ns/op
BenchmarkGnark/AggregateSign-G1_on_10_signs-16 1861 642862 ns/op
BenchmarkGnark/AggregateSign-G2_on_10_signs-16 736 1620589 ns/op
BenchmarkGnark/AggregatePublicKeys-G1_on_100_signs-16 8847 134814 ns/op
BenchmarkGnark/AggregatePublicKeys-G2_on_100_signs-16 24950 47736 ns/op
BenchmarkGnark/AggregateSign-G1_on_100_signs-16 171 7024926 ns/op
BenchmarkGnark/AggregateSign-G2_on_100_signs-16 64 16190950 ns/op
BenchmarkGnark/AggregatePublicKeys-G1_on_1000_signs-16 879 1364935 ns/op
BenchmarkGnark/AggregatePublicKeys-G2_on_1000_signs-16 2472 482911 ns/op
BenchmarkGnark/AggregateSign-G1_on_1000_signs-16 15 70656607 ns/op
BenchmarkGnark/AggregateSign-G2_on_1000_signs-16 7 162293735 ns/op
BenchmarkGnark/AggregatePublicKeys-G1_on_10000_signs-16 87 13746621 ns/op
BenchmarkGnark/AggregatePublicKeys-G2_on_10000_signs-16 225 5297753 ns/op
BenchmarkGnark/AggregateSign-G1_on_10000_signs-16 2 703989000 ns/op
BenchmarkGnark/AggregateSign-G2_on_10000_signs-16 1 1619406879 ns/op
BenchmarkGnark/KeyGen-G1-16 5947 173983 ns/op
BenchmarkGnark/KeyGen-G2-16 15550 76970 ns/op
BenchmarkGnark/Sign-G1-16 6783 149402 ns/op
BenchmarkGnark/Sign-G2-16 2374 487876 ns/op
BenchmarkGnark/Verify-G1-16 1440 820551 ns/op
BenchmarkGnark/Verify-G2-16 1015 1148219 ns/op
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment