parseInt vs Math.floor vs parseInt - fixed vs Math.floor - fixed| Test case name | Result |
|---|---|
| parseInt | |
| Math.floor | |
| parseInt - fixed | |
| Math.floor - fixed |
| Test name | Executions per second |
|---|---|
| ✓ parseInt - fixed | 19,107,810 Ops/sec |
| Math.floor - fixed | 18,730,416 Ops/sec |
| parseInt | 10,384,760 Ops/sec |
| Math.floor | 10,080,236 Ops/sec |