Test name | Executions per second |
---|---|
floor | 1446559.1 Ops/sec |
~~ | 3010054.2 Ops/sec |
>> 0 | 3036320.5 Ops/sec |
| 0 | 3070202.8 Ops/sec |
<< 0 | 3071566.5 Ops/sec |
& 0xFFFFFFFFFFFF | 3094745.5 Ops/sec |
^ 0x000000000000 | 3074939.5 Ops/sec |
Math.trunc() | 1493162.0 Ops/sec |
x - (x % 1) | 1979053.2 Ops/sec |
parseInt() | 1513009.5 Ops/sec |