Comparing the performance of ECDSA signature validation in OpenSSL vs. libsecp256k1 over the last decade

Following up on the proposed x-date/y-log-runtime graph idea, I played around a bit and created a branch that implements this, emitting a line plot: GitHub - theStack/secp256k1-plugbench at plot-xtime-ylog. On my machine (arm64, the same that was used to create the bar plot in the opening post) it currently looks like this:

Interesting indeed that on arm64 the speedup from v0.20 to v22.0 is so much higher compared to x86-64 (negative according to Comparing the performance of ECDSA signature validation in OpenSSL vs. libsecp256k1 over the last decade - #2 by sipa, ~16% according to report Result reproduction · Issue #2 · theStack/secp256k1-plugbench · GitHub). Would be nice to see plots running this on 32-bit machines for comparison, if anyone here still has one.

2 Likes