Tests:

Historical Performance Data aggregated from 23 community runs

Desktop Results:
Chrome 11 runs
Math.log2
123.4M/s
Division
123.4M/s
Max32
123.1M/s
Multiple of x
120.9M/s
View exact numbers
  • Math.log2: 123,435,280 ops/sec
  • Division: 123,434,896 ops/sec
  • Max32: 123,088,512 ops/sec
  • Multiple of x: 120,920,584 ops/sec
Mobile Results:
Chrome 12 runs
Division
55.8M/s
Multiple of x
54.5M/s
Max32
50.2M/s
Math.log2
47.1M/s

Fastest: Division (1.2x faster)

View exact numbers
  • Division: 55,804,104 ops/sec
  • Multiple of x: 54,490,748 ops/sec
  • Max32: 50,155,232 ops/sec
  • Math.log2: 47,119,552 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Division
    Math.log2
    Multiple of x
    Max32

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Chrome 137 on Windows
View result in a separate tab
Max32
132.4M/s
Division
131.1M/s
Math.log2
123.1M/s
Multiple of x
113.6M/s
View exact numbers
Test name Executions per second
Max32 132,389,760 Ops/sec
Division 131,133,872 Ops/sec
Math.log2 123,082,872 Ops/sec
Multiple of x 113,615,768 Ops/sec