Skip to content

Conversation

@mratsim
Copy link
Owner

@mratsim mratsim commented Jul 14, 2024

This PR adds a performance baseline for Whisk in GT.

https://ethresear.ch/t/the-return-of-torus-based-cryptography-whisk-and-curdleproof-in-the-target-group/16678

Here is the speed on a 7840U:

image

For comparison here is scalar mul on G1
image

and on G2
image

Hence exponentiation in Gt (131 us) is within 30% of scalar mul in G2 (96 us).

cc @asanso

@mratsim
Copy link
Owner Author

mratsim commented Jul 14, 2024

Gnark bench

cd ecc/bls12-381
go test -bench=ExpGT -run=none --cpu 1

image

so 2.29x faster than Gnark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants