Test name | Executions per second |
---|---|
parseInt a number | 498064.8 Ops/sec |
parseInt a string | 431503.7 Ops/sec |
toString a number | 1990500.0 Ops/sec |
toString a string | 2127695.0 Ops/sec |
string literal a number | 2617086.0 Ops/sec |
string literal a string | 2873436.0 Ops/sec |
add empty string to number | 2278889.0 Ops/sec |
add empty string to string | 2554095.0 Ops/sec |