Run details:
Mozilla/5.0 (Android 12; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0
Firefox Mobile 102
Android
Mobile
one year ago
Test name Executions per second
Switch 58181.4 Ops/sec
Object Literal 57093.4 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal