Test name | Executions per second |
---|---|
floor | 2408887.0 Ops/sec |
~~ | 3999670.5 Ops/sec |
>> 0 | 4251726.0 Ops/sec |
| 0 | 4217083.0 Ops/sec |
<< 0 | 4193719.8 Ops/sec |
& 0xFFFFFFFFFFFF | 4420818.0 Ops/sec |
^ 0x000000000000 | 3973151.2 Ops/sec |
Math.trunc() | 2404963.2 Ops/sec |
x - (x % 1) | 2988627.8 Ops/sec |
parseInt() | 2115465.8 Ops/sec |