Test name | Executions per second |
---|---|
floor | 2645943.8 Ops/sec |
~~ | 4704152.0 Ops/sec |
>> 0 | 4702088.0 Ops/sec |
| 0 | 4714966.0 Ops/sec |
<< 0 | 4724578.0 Ops/sec |
& 0xFFFFFFFFFFFF | 4718220.0 Ops/sec |
^ 0x000000000000 | 4651517.5 Ops/sec |
Math.trunc() | 2651157.0 Ops/sec |
x - (x % 1) | 2941126.5 Ops/sec |
parseInt() | 2669927.2 Ops/sec |