Run details:
Mozilla/5.0 (Android 11; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0
Firefox Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
Switch 46449.7 Ops/sec
Object Literal 43733.7 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;