Test case name | Result |
---|---|
parseInt | |
toFixed | |
Tilde | |
Bitwise | |
Math.round | |
Math.trunc |
Test name | Executions per second |
---|---|
parseInt | 233.6 Ops/sec |
toFixed | 223.6 Ops/sec |
Tilde | 269.5 Ops/sec |
Bitwise | 269.3 Ops/sec |
Math.round | 238.8 Ops/sec |
Math.trunc | 246.0 Ops/sec |