Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/122.0.6261.89 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 122
iOS 17.3
Mobile
9 months ago
Test name Executions per second
Polymorphism 1461062.9 Ops/sec
Switch 2293471.0 Ops/sec
Script Preparation code:
Tests:
  • Polymorphism

  • Switch