Tests:

Historical Performance Data aggregated from 58 community runs

Desktop Results:
Chrome 43 runs
bit shifting
167.3M/s
pow
70.9M/s

Fastest: bit shifting (2.4x faster)

View exact numbers
  • bit shifting: 167,300,816 ops/sec
  • pow: 70,930,392 ops/sec
Firefox 10 runs
pow
1461.8M/s
bit shifting
1438.3M/s
View exact numbers
  • pow: 1,461,827,200 ops/sec
  • bit shifting: 1,438,283,392 ops/sec
Mobile Results:
Chrome 5 runs
bit shifting
100.4M/s
pow
98.3M/s
View exact numbers
  • bit shifting: 100,363,384 ops/sec
  • pow: 98,312,976 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
    pow
    bit shifting

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0
Firefox 147 on Windows
View result in a separate tab
pow
1645.2M/s
bit shifting
1464.2M/s
View exact numbers
Test name Executions per second
pow 1,645,249,280 Ops/sec
bit shifting 1,464,240,256 Ops/sec