Test name | Executions per second |
---|---|
floor | 2694173.8 Ops/sec |
~~ | 4997058.5 Ops/sec |
>> 0 | 5008094.5 Ops/sec |
| 0 | 4962218.5 Ops/sec |
<< 0 | 4967758.0 Ops/sec |
& 0xFFFFFFFFFFFF | 4953345.0 Ops/sec |
^ 0x000000000000 | 4942403.5 Ops/sec |
Math.trunc() | 2700728.5 Ops/sec |
x - (x % 1) | 3317977.0 Ops/sec |
parseInt() | 2677876.2 Ops/sec |