Run details:
Mozilla/5.0 (Android 11; Mobile; rv:91.0) Gecko/91.0 Firefox/91.0
Firefox Mobile 91
Android
Mobile
3 years ago
Test name Executions per second
Switch 20645.0 Ops/sec
Object Literal 19506.1 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;