Test name | Executions per second |
---|---|
parseInt a number | 240234.1 Ops/sec |
parseInt a string | 202863.4 Ops/sec |
toString a number | 2229517.0 Ops/sec |
toString a string | 2459575.0 Ops/sec |
string literal a number | 3725754.0 Ops/sec |
string literal a string | 2727106.0 Ops/sec |
add empty string to number | 3731414.0 Ops/sec |
add empty string to string | 3447304.0 Ops/sec |