Test name | Executions per second |
---|---|
parseInt a number | 418316.2 Ops/sec |
parseInt a string | 337477.8 Ops/sec |
toString a number | 4177423.0 Ops/sec |
toString a string | 5609784.0 Ops/sec |
string literal a number | 7662893.0 Ops/sec |
string literal a string | 5627332.0 Ops/sec |
add empty string to number | 7462003.0 Ops/sec |
add empty string to string | 6944279.0 Ops/sec |