Test name | Executions per second |
---|---|
parseInt a number | 895133.0 Ops/sec |
parseInt a string | 752101.6 Ops/sec |
toString a number | 8808388.0 Ops/sec |
toString a string | 10016000.0 Ops/sec |
string literal a number | 15138380.0 Ops/sec |
string literal a string | 11223630.0 Ops/sec |
add empty string to number | 15136230.0 Ops/sec |
add empty string to string | 14378450.0 Ops/sec |