Test name | Executions per second |
---|---|
parseInt a number | 275007.8 Ops/sec |
parseInt a string | 232179.0 Ops/sec |
toString a number | 2382718.0 Ops/sec |
toString a string | 3175625.0 Ops/sec |
string literal a number | 4268192.0 Ops/sec |
string literal a string | 3225675.0 Ops/sec |
add empty string to number | 4256053.0 Ops/sec |
add empty string to string | 4074951.0 Ops/sec |