Run details:
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36
Chrome 97
Windows 7
Desktop
2 years ago
Test name Executions per second
Math.sqrt 133.4 Ops/sec
sqrt with Math.pow 154.5 Ops/sec
Script Preparation code:
Tests:
  • Math.sqrt

  • sqrt with Math.pow