Run details:
Mozilla/5.0 (Linux; Android 13; SM-N985F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Mobile Safari/537.36 EdgA/110.0.1587.66
Chrome Mobile 110
Android
Mobile
one year ago
Test name Executions per second
Switch 37765.5 Ops/sec
Object Literal 40354.7 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;