Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3321.0 Safari/537.36
Chrome 65
Mac OS X 10.10.1
Desktop
6 years ago
Test name Executions per second
Math.sqrt 1521.5 Ops/sec
Quakes fast inverse sqrt. 250.9 Ops/sec
Script Preparation code:
Tests:
  • Math.sqrt

  • Quakes fast inverse sqrt.