Test name | Executions per second |
---|---|
parseInt a number | 897897.2 Ops/sec |
parseInt a string | 726987.8 Ops/sec |
toString a number | 7842803.0 Ops/sec |
toString a string | 10646100.0 Ops/sec |
string literal a number | 15863530.0 Ops/sec |
string literal a string | 10643490.0 Ops/sec |
add empty string to number | 15919780.0 Ops/sec |
add empty string to string | 15259460.0 Ops/sec |