Test name | Executions per second |
---|---|
parseInt a number | 1163935.0 Ops/sec |
parseInt a string | 999182.8 Ops/sec |
toString a number | 10427180.0 Ops/sec |
toString a string | 12088190.0 Ops/sec |
string literal a number | 17674090.0 Ops/sec |
string literal a string | 12790590.0 Ops/sec |
add empty string to number | 18035850.0 Ops/sec |
add empty string to string | 17363620.0 Ops/sec |