trunc vs floor vs parseInt vs bitwise invert2 vs bitwise or| Test case name | Result |
|---|---|
| trunc | |
| floor | |
| parseInt | |
| bitwise invert2 | |
| bitwise or |
| Test name | Executions per second |
|---|---|
| ✓ floor | 223,372,624 Ops/sec |
| bitwise invert2 | 219,538,912 Ops/sec |
| bitwise or | 203,104,176 Ops/sec |
| trunc | 193,958,032 Ops/sec |
| parseInt | 146,112,960 Ops/sec |