Run details:
Mozilla/5.0 (Android 9; Mobile; rv:71.0) Gecko/71.0 Firefox/71.0
Firefox Mobile 71
Android
Mobile
5 years ago
Test name Executions per second
Switch 4514.0 Ops/sec
Object Literal 4545.5 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;