Open jerry-sl opened 6 years ago
Hi. Thanks! I'll take a look next week on this.
What's the C version of secp256k1 benchmark you're comparing against? Depending on how you compiled the C version, it might give out different results. For example, in Rust we don't yet have assembly optimizations to keep it pure no_std and capable to compile to WebAssembly.
Right now it might be fair right now to compare with the C version compiled with the following config flags:
#undef USE_ASM_X86_64
#undef USE_ENDOMORPHISM
Hi, sorpaas. Thx for this pure rust secp256k1 lib. I wonder there has some performance test or has some work in process?
I wrote a demo to benchmark sign, verify and recover. But the result is not good than c-binding lib. May be i am test the wrong way. If you have any time to review my code and give some advice. I was glad to fix and improve my test. Thx.