Test name | Executions per second |
---|---|
parseInt a number | 746802.4 Ops/sec |
parseInt a string | 621505.3 Ops/sec |
toString a number | 6447236.0 Ops/sec |
toString a string | 7740194.0 Ops/sec |
string literal a number | 12851320.0 Ops/sec |
string literal a string | 9383721.0 Ops/sec |
add empty string to number | 12896490.0 Ops/sec |
add empty string to string | 11073530.0 Ops/sec |