Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_8 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/101.0.4951.58 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 101
iOS 14.8
Mobile
2 years ago
Test name Executions per second
div by 2 36.2 Ops/sec
div by 2.0 35.9 Ops/sec
multiply by 0.5 36.0 Ops/sec
Script Preparation code:
Tests:
  • div by 2

  • div by 2.0

  • multiply by 0.5