Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 4 XL Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/104.0.5112.97 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
Switch 58729.2 Ops/sec
Object Literal 51221.9 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;