Run details:
Mozilla/5.0 (Android 10; Mobile; rv:81.0) Gecko/81.0 Firefox/81.0
Firefox Mobile 81
Android
Mobile
4 years ago
Test name Executions per second
Switch 20146.6 Ops/sec
Object Literal 19228.7 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;