Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0
Firefox 81
Windows
Desktop
4 years ago
Test name Executions per second
Power function (small number) 179355840.0 Ops/sec
Power function (large number) 180362048.0 Ops/sec
Power function (very large number) 177831440.0 Ops/sec
Square root function (small number) 175760064.0 Ops/sec
Square root function (large number) 174710448.0 Ops/sec
Square root function (very large number) 179953504.0 Ops/sec
Script Preparation code:
Tests:
  • Power function (small number)

  • Power function (large number)

  • Power function (very large number)

  • Square root function (small number)

  • Square root function (large number)

  • Square root function (very large number)