~~ vs parseInt (v3)

Revision 3 of this benchmark created on


Setup

var t = ''+Date.now()

Test runner

Ready to run.

Testing in
TestOps/sec
PI
var r = parseInt(t)
ready
~~
var r = ~~(t)
ready
-0
var r = t-0;
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.