Test name | Executions per second |
---|---|
parseInt a number | 85435040.0 Ops/sec |
parseInt a string | 4938469.0 Ops/sec |
toString a number | 4924684.0 Ops/sec |
toString a string | 18946770.0 Ops/sec |
string literal a number | 5028370.0 Ops/sec |
string literal a string | 20956160.0 Ops/sec |
add empty string to number | 5035895.0 Ops/sec |
add empty string to string | 21092060.0 Ops/sec |