Test name | Executions per second |
---|---|
parseInt a number | 550718.9 Ops/sec |
parseInt a string | 439621.1 Ops/sec |
toString a number | 3922460.0 Ops/sec |
toString a string | 4451945.0 Ops/sec |
string literal a number | 9695384.0 Ops/sec |
string literal a string | 5001043.0 Ops/sec |
add empty string to number | 9873304.0 Ops/sec |
add empty string to string | 9421988.0 Ops/sec |