Number() vs parseInt() vs plus (v56)

Revision 56 of this benchmark created by Alex on


Test runner

Ready to run.

Testing in
TestOps/sec
Number Constructor
Number("10.1")
ready
parseInt
10.1 | 0
ready
Plus operator
+"10.1"
ready
~~
~~10.1
ready

Revisions

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