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) 1788297.8 Ops/sec
Power function (large number) 1782423.5 Ops/sec
Power function (very large number) 1794454.4 Ops/sec
Square root function (small number) 1779681.6 Ops/sec
Square root function (large number) 1802801.9 Ops/sec
Square root function (very large number) 1790777.6 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)