Test name | Executions per second |
---|---|
parseInt a number | 2077743.0 Ops/sec |
parseInt a string | 1766830.0 Ops/sec |
toString a number | 7027287.0 Ops/sec |
toString a string | 23066540.0 Ops/sec |
string literal a number | 12227090.0 Ops/sec |
string literal a string | 22910070.0 Ops/sec |
add empty string to number | 5897549.0 Ops/sec |
add empty string to string | 11891830.0 Ops/sec |