Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Math.floor
    Math.round
    Math.trunc
    parseInt
    Double Negation
    Bitwise XOR
    Bitwise OR
    Right Shift
    Unsigned Right Shift
    Modulo

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36
Chrome Mobile 137 on Android
View result in a separate tab
Bitwise XOR
636.8M/s
Right Shift
589.2M/s
Modulo
543.7M/s
Unsigned Right Shift
543.3M/s
Bitwise OR
540.3M/s
Double Negation
445.9M/s
Math.floor
224.1M/s
Math.trunc
223.7M/s
Math.round
210.1M/s
parseInt
12.5M/s
View exact numbers
Test name Executions per second
Bitwise XOR 636,819,840 Ops/sec
Right Shift 589,226,752 Ops/sec
Modulo 543,684,096 Ops/sec
Unsigned Right Shift 543,267,584 Ops/sec
Bitwise OR 540,315,584 Ops/sec
Double Negation 445,907,904 Ops/sec
Math.floor 224,113,856 Ops/sec
Math.trunc 223,717,920 Ops/sec
Math.round 210,108,224 Ops/sec
parseInt 12,499,502 Ops/sec