Run details:
Mozilla/5.0 (Linux; Android 8.1.0; SM-J710GN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.101 Mobile Safari/537.36
Chrome Mobile 75
Android 8.1.0
Mobile
5 years ago
Test name Executions per second
Switch 31205.7 Ops/sec
Object Literal 31047.5 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;