Test name | Executions per second |
---|---|
parseInt a number | 1500424.0 Ops/sec |
parseInt a string | 1262192.0 Ops/sec |
toString a number | 12305230.0 Ops/sec |
toString a string | 12843040.0 Ops/sec |
string literal a number | 25309410.0 Ops/sec |
string literal a string | 16718740.0 Ops/sec |
add empty string to number | 25338180.0 Ops/sec |
add empty string to string | 21796150.0 Ops/sec |