Test name | Executions per second |
---|---|
parseInt a number | 780800.0 Ops/sec |
parseInt a string | 648425.4 Ops/sec |
toString a number | 7552615.0 Ops/sec |
toString a string | 9011181.0 Ops/sec |
string literal a number | 13918230.0 Ops/sec |
string literal a string | 10017060.0 Ops/sec |
add empty string to number | 13537690.0 Ops/sec |
add empty string to string | 11815750.0 Ops/sec |