Test name | Executions per second |
---|---|
parseInt a number | 642743.3 Ops/sec |
parseInt a string | 668929.1 Ops/sec |
toString a number | 2162650.0 Ops/sec |
toString a string | 7915774.0 Ops/sec |
string literal a number | 3526564.0 Ops/sec |
string literal a string | 8493967.0 Ops/sec |
add empty string to number | 2715257.0 Ops/sec |
add empty string to string | 5669007.0 Ops/sec |