Tests:
  • Math.pow(16, 2)

  • Math.sqrt(16)

  • 16 ** .5

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Math.pow(16, 2)
    Math.sqrt(16)
    16 ** .5

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Linux; Android 9; LG-H870DS) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Mobile Safari/537.36
Chrome Mobile 89 on Android
View result in a separate tab
Test name Executions per second
Math.pow(16, 2) 1398305.0 Ops/sec
Math.sqrt(16) 1399708.0 Ops/sec
16 ** .5 634996200.0 Ops/sec