Run details:
Mozilla/5.0 (Linux; Android 8.0.0; XT1635-02) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.96 Mobile Safari/537.36
Chrome Mobile 78
Android 8.0.0
Mobile
5 years ago
Test name Executions per second
Switch 26532.9 Ops/sec
Object Literal 26504.5 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;