Tests:

Historical Performance Data aggregated from 14 community runs

Desktop Results:
Chrome 14 runs
Math.pow(x,0.25)
11.9M/s
Math.sqrt(sqrt(x))
6.4M/s

Fastest: Math.pow(x,0.25) (1.9x faster)

View exact numbers
  • Math.pow(x,0.25): 11,865,060 ops/sec
  • Math.sqrt(sqrt(x)): 6,387,566 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
    Math.pow(x,0.25)
    Math.sqrt(sqrt(x))

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0
Firefox 137 on Ubuntu
View result in a separate tab
Math.sqrt(sqrt(x))
1772.1M/s
Math.pow(x,0.25)
1771.6M/s
View exact numbers
Test name Executions per second
Math.sqrt(sqrt(x)) 1,772,093,568 Ops/sec
Math.pow(x,0.25) 1,771,591,552 Ops/sec