Run details:
Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/119.0 Firefox/119.0
Firefox Mobile 119
Android
Mobile
one year ago
Test name Executions per second
Math.atan2 1109446.5 Ops/sec
fast approx. atan2 1195543.1 Ops/sec
cached Math.atan2 1044717.8 Ops/sec
Script Preparation code:
Tests:
  • Math.atan2

  • fast approx. atan2

  • cached Math.atan2