Run details:
Mozilla/5.0 (Linux; Android 13) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/109.0.5414.117 Mobile DuckDuckGo/5 Safari/537.36
Chrome Mobile 109
Android
Mobile
one year ago
Test name Executions per second
Switch 24178.7 Ops/sec
Object Literal 24418.8 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;