Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/118.0.5993.92 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 118
iOS 17.0
Mobile
one year ago
Test name Executions per second
div by 2 188.3 Ops/sec
div by 2.0 176.7 Ops/sec
multiply by 0.5 172.9 Ops/sec
Script Preparation code:
Tests:
  • div by 2

  • div by 2.0

  • multiply by 0.5