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

  • Object Literal


;