daimo-eth / p256-verifier

P256 signature verification solidity contract
https://p256.eth.limo
MIT License
147 stars 28 forks source link

Gas measurement test #10

Closed nalinbhardwaj closed 9 months ago

nalinbhardwaj commented 10 months ago

Add a test that measures gas usage of our implementation and FCL’s implementation.

To match real world use cases exactly, generate 100 random privkeys and 100 random signatures from each. Measure gas used by both implementations and output mean median etc of usage (note that both implementations should have same compilation settings etc)