Test name | Executions per second |
---|---|
parseInt a number | 1383877.0 Ops/sec |
parseInt a string | 1249719.0 Ops/sec |
toString a number | 12391350.0 Ops/sec |
toString a string | 14561140.0 Ops/sec |
string literal a number | 23634300.0 Ops/sec |
string literal a string | 15973510.0 Ops/sec |
add empty string to number | 24232330.0 Ops/sec |
add empty string to string | 21633830.0 Ops/sec |