You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
USE_NUM_NONE
USE_FIELD_INV_BUILTIN
USE_SCALAR_INV_BUILTIN
USE_FIELD_10X26
USE_SCALAR_8X32
#undef USE_ASM_X86_64
#undef USE_ENDOMORPHISM
tomtau
pushed a commit
to crypto-com/libsecp256k1-rs
that referenced
this issue
Mar 8, 2019
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.
The text was updated successfully, but these errors were encountered: