Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/96.0.4664.94 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 96
iOS 15.1
Mobile
3 years ago
Test name Executions per second
Math.sqrt 740.3 Ops/sec
sqrt with Math.pow 742.8 Ops/sec
Script Preparation code:
Tests:
  • Math.sqrt

  • sqrt with Math.pow