Test name | Executions per second |
---|---|
parseInt a number | 1471489.0 Ops/sec |
parseInt a string | 1222633.0 Ops/sec |
toString a number | 13674090.0 Ops/sec |
toString a string | 12914160.0 Ops/sec |
string literal a number | 25559050.0 Ops/sec |
string literal a string | 16613430.0 Ops/sec |
add empty string to number | 25861830.0 Ops/sec |
add empty string to string | 22176370.0 Ops/sec |