Test name | Executions per second |
---|---|
parseInt a number | 29314270.0 Ops/sec |
parseInt a string | 1923887.0 Ops/sec |
toString a number | 810107.6 Ops/sec |
toString a string | 6470057.0 Ops/sec |
string literal a number | 2218438.0 Ops/sec |
string literal a string | 15059860.0 Ops/sec |
add empty string to number | 1627061.0 Ops/sec |
add empty string to string | 27669070.0 Ops/sec |