Run details:
Mozilla/5.0 (Linux; Android 10; SM-G981B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.101 Mobile Safari/537.36
Chrome Mobile 83
Android
Mobile
4 years ago
Test name Executions per second
Power function (small number) 1788298.0 Ops/sec
Power function (large number) 1782424.0 Ops/sec
Power function (very large number) 1794454.0 Ops/sec
Square root function (small number) 1779682.0 Ops/sec
Square root function (large number) 1802802.0 Ops/sec
Square root function (very large number) 1790778.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)