Run details:
Mozilla/5.0 (Linux; Android 10; Pixel 2 XL Build/QP1A.191105.004; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.96 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/248.0.0.31.116;]
Chrome Mobile 78
Android
Mobile
5 years ago
Test name Executions per second
Switch 59765.4 Ops/sec
Object Literal 49315.5 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;