Run details:
Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/109.0 Firefox/109.0
Firefox Mobile 109
Android
Mobile
one year ago
Test name Executions per second
Switch 39204.7 Ops/sec
Object Literal 36562.1 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal