Test name | Executions per second |
---|---|
parseInt a number | 569480.1 Ops/sec |
parseInt a string | 462687.3 Ops/sec |
toString a number | 4807722.0 Ops/sec |
toString a string | 5860323.0 Ops/sec |
string literal a number | 8974026.0 Ops/sec |
string literal a string | 5795331.0 Ops/sec |
add empty string to number | 8795960.0 Ops/sec |
add empty string to string | 7278133.0 Ops/sec |