Test name | Executions per second |
---|---|
parseInt a number | 654196.4 Ops/sec |
parseInt a string | 534356.7 Ops/sec |
toString a number | 5103988.0 Ops/sec |
toString a string | 7070163.0 Ops/sec |
string literal a number | 8909001.0 Ops/sec |
string literal a string | 6784061.0 Ops/sec |
add empty string to number | 9773687.0 Ops/sec |
add empty string to string | 8993960.0 Ops/sec |