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

  • Object Literal


;