Run details:
Mozilla/5.0 (Linux; Android 13; SAMSUNG SM-G781U1) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/20.0 Chrome/106.0.5249.126 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
one year ago
Test name Executions per second
Switch 53575.4 Ops/sec
Object Literal 52820.2 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;