Run details:
Mozilla/5.0 (Linux; Android 9; moto g(6) play Build/PPPS29.55-35-12-5; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.136 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/238.0.0.41.116;]
Chrome Mobile 74
Android
Mobile
5 years ago
Test name Executions per second
Switch 16834.3 Ops/sec
Object Literal 16345.1 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal