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 47939.3 Ops/sec
Object Literal 43926.8 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal