-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call.
It's not a performance regression if it was never released. This lib also likely has less unsafety. Personally I think we should put in the effort to improve the performance of the pure rust libs. |
This was also run on the same machine? I didn't followed, but I knew that we switched or wanted to switch now to the benchmarks on VM. |
not too sure they were both ran with the |
The weight files contains the configuration of the machine. You can compare this. |
Okay, yeah then the pure rust implementation is really that bad. 🙈 But yeah, we know about them as otherwise we would use k256 everywhere: #8089 (comment) |
I compared it again on the same machine and it used just 35% of the time before this MR was merged. But okay, if it causes build error then we cannot use it now. |
* Revert "Remove k256 crate from frame-support dependencies (paritytech#14452)" This reverts commit 75be6e2. * Keep the test
Let's keep using
k256
in wasm to not fuck up people compiling their stuff and apparently it also started to include__stack_chk_fail
on my machine as "host function".