Run details:
Mozilla/5.0 (Linux; Android 9; SM-T865 Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.96 Safari/537.36 [FB_IAB/FB4A;FBAV/248.0.0.31.116;]
Chrome 78
Android
Tablet
5 years ago
Test name Executions per second
Switch 72418.6 Ops/sec
Object Literal 66473.4 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;