@good-karma suggested that I should setup a performance test of dsteem and compare it to the official steem-js library and I was happy to oblige. The results really surprised me however, I expected dsteem to maybe be a little bit faster but the results show that dsteem is ~90 times faster than steem-js!
I setup the test to cover the most common and compute intensive operation I could think of (deserializing a private key and using that to sign a transaction). You can check how it's setup and run it for yourself here: https://jsperf.com/dsteem-vs-steem-js/1
Update: In node.js dsteem pulls ahead with another order of magnitude, more than 1000 times faster! Probably because many of the crypto functions I'm using have native bindings when running in node.
Surprisingly big difference than I expected! :) looking forward to round 2...
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You and me both :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
great contribution!
i wish we could update the steem js library asap with your solution or simply update with your contribution so the whole ecosystem can benefit this great improvement
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Wow, that's awesome. I'm curious about read operations - have you benchmarked any of those?
get_state
etc?Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks! No, I haven't. I think the differences should be negligible unless steem-js is doing something really weird :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
That was my thought as well - but this is still a great boost in performance for transactions that require signing. Are you using anything non-standard? Is this most likely a difference in use of different libraries?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I haven't profiled it but my guess is that a large part of the performance improvement is coming from the node-secp256k1 package. The browserify crypto implementations are really good as well.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
8.92 vs 813
I was looking for a missing dot.
Great work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Haha I did as well when running it for the first time, had to double check that my lib wasn't running in neutral :D
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
good job!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks man!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Awesome job! How far into development is dsteem currently?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks! I hate giving estimates but 70% maybe? :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Ah, fair enough, as soon as I finish my final exams I shall give it a go, looks awesome though
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Wow, that is a BIG difference, good job!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks! :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Wow impressive results, great work!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Well, Damn! :O
Looking forward to fiddling with dsteem
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Very nice!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for the tip!!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Upvoted & Resteemed!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Good
Followed , upvoted
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit