Test case name | Result |
---|---|
Number (with string integer) | |
Unary + (with string integer) | |
parseInt (with string integer) | |
Double Bitwise (with string integer) | |
Number (with integer) | |
Unary + (with integer) | |
parseInt (with integer) | |
Double Bitwise |
Test name | Executions per second |
---|---|
Number (with string integer) | 41473100.0 Ops/sec |
Unary + (with string integer) | 41505120.0 Ops/sec |
parseInt (with string integer) | 1277845888.0 Ops/sec |
Double Bitwise (with string integer) | 4690700.0 Ops/sec |
Number (with integer) | 32574996.0 Ops/sec |
Unary + (with integer) | 711415104.0 Ops/sec |
parseInt (with integer) | 718727616.0 Ops/sec |
Double Bitwise | 843030656.0 Ops/sec |