Run details:
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
Android
Mobile
3 years ago
Test name Executions per second
Math.pow(16, 2) 1398305.1 Ops/sec
Math.sqrt(16) 1399708.2 Ops/sec
16 ** .5 634996224.0 Ops/sec
Tests:
  • Math.pow(16, 2)

  • Math.sqrt(16)

  • 16 ** .5