Test name | Executions per second |
---|---|
parseInt a number | 1869805.0 Ops/sec |
parseInt a string | 1593078.0 Ops/sec |
toString a number | 15118590.0 Ops/sec |
toString a string | 14030450.0 Ops/sec |
string literal a number | 31104180.0 Ops/sec |
string literal a string | 18820820.0 Ops/sec |
add empty string to number | 30940300.0 Ops/sec |
add empty string to string | 25486880.0 Ops/sec |