Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36 Maxthon/5.2.5.4000
Maxthon 5
Windows
Desktop
3 years ago
Test name Executions per second
Math.sqrt 2486.1 Ops/sec
Quakes fast inverse sqrt. 519.7 Ops/sec
Script Preparation code:
Tests:
  • Math.sqrt

  • Quakes fast inverse sqrt.