Run details:
Mozilla/5.0 (Android 10; Mobile; rv:93.0) Gecko/93.0 Firefox/93.0
Firefox Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
Switch 27089.0 Ops/sec
Object Literal 24899.8 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;