Run details:
Mozilla/5.0 (Linux; Android 8.0; Galaxy Nexus Build/IMM76B) AppleWebKit/537.19 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.19
Chrome Mobile 68
Android 8.0
Mobile
3 years ago
Test name Executions per second
Switch 42380.3 Ops/sec
Object Literal 28524.4 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;