Test name | Executions per second |
---|---|
parseInt a number | 734823.7 Ops/sec |
parseInt a string | 621564.9 Ops/sec |
toString a number | 6779092.0 Ops/sec |
toString a string | 8570621.0 Ops/sec |
string literal a number | 12719620.0 Ops/sec |
string literal a string | 9067979.0 Ops/sec |
add empty string to number | 12651830.0 Ops/sec |
add empty string to string | 11835780.0 Ops/sec |