Test name | Executions per second |
---|---|
parseInt a number | 825932.3 Ops/sec |
parseInt a string | 713939.9 Ops/sec |
toString a number | 7457652.0 Ops/sec |
toString a string | 8100808.0 Ops/sec |
string literal a number | 13699090.0 Ops/sec |
string literal a string | 10103320.0 Ops/sec |
add empty string to number | 13637550.0 Ops/sec |
add empty string to string | 12429240.0 Ops/sec |