Run details:
Mozilla/5.0 (Linux; Android 9; SM-G955U1 Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/97.0.4692.98 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/352.0.0.21.117;]
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
Switch 24351.0 Ops/sec
Object Literal 16691.3 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;