Test name | Executions per second |
---|---|
floor | 2732996.0 Ops/sec |
~~ | 5305176.5 Ops/sec |
>> 0 | 5358075.0 Ops/sec |
| 0 | 5058446.0 Ops/sec |
<< 0 | 5177881.0 Ops/sec |
& 0xFFFFFFFFFFFF | 5304347.5 Ops/sec |
^ 0x000000000000 | 5323209.0 Ops/sec |
Math.trunc() | 2953755.8 Ops/sec |
x - (x % 1) | 3581560.2 Ops/sec |
parseInt() | 2900089.5 Ops/sec |