Post
Topic
Board Announcements (Altcoins)
Re: [ANN] Nxt Bounty for working JavaScript code that signs and verifies signatures
by
hoax
on 15/01/2014, 09:09:12 UTC
My js ported directly from this, not from Nxt sources Smiley

ok, but did you actually test the c++ program?
No, compared only with Nxt sources behavior.

I'm getting quite terrible results from node.js - last time I checked they were 10 times worse than ones from the browser...
I would appreciate if anyone would share his (her?) results from within the browser

CPU - core i5 2.6ghz

Chrome 32beta:
crypto_sign - 64ms, crypto_verify - 32ms

Node.js:
crypto_sign - 88ms, crypto_verify - 44ms

Firefox 26:
crypto_sign - 80ms, crypto_verify - 60ms

Results depends on "how you're measure" them Smiley

Sometimes browser can be meditative and run JS slowly and i get worst results(~ x2 slower). And if i call this functions in 100x cycle then avg time is better(36ms, 29ms on chrome).