Test name | Executions per second |
---|---|
Number (with string integer) | 34231200.0 Ops/sec |
Unary + (with string integer) | 36209370.0 Ops/sec |
parseInt (with string integer) | 135758200.0 Ops/sec |
Number (with string float) | 4333808.0 Ops/sec |
Unary + (with string float) | 4463954.0 Ops/sec |
parseInt (with string float) | 17855780.0 Ops/sec |
Number (with integer) | 54460110.0 Ops/sec |
Unary + (with integer) | 1700057000.0 Ops/sec |
parseInt (with integer) | 1769049000.0 Ops/sec |
Number (with float) | 59429820.0 Ops/sec |
Unary + (with float) | 1779927000.0 Ops/sec |
parseInt (with float) | 1588673000.0 Ops/sec |
Number (with NaN) | 1744792000.0 Ops/sec |
Unary + (with NaN) | 1589300000.0 Ops/sec |
parseInt (with NaN) | 1722542000.0 Ops/sec |