Test name | Executions per second |
---|---|
parseInt a number | 790213.5 Ops/sec |
parseInt a string | 697104.4 Ops/sec |
toString a number | 6560970.0 Ops/sec |
toString a string | 7743697.0 Ops/sec |
string literal a number | 12949680.0 Ops/sec |
string literal a string | 9597849.0 Ops/sec |
add empty string to number | 13034610.0 Ops/sec |
add empty string to string | 11850360.0 Ops/sec |