Run details:
Mozilla/5.0 (Linux; Android 10; RMX1851 Build/QKQ1.190918.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.101 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/356.0.0.28.112;]
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
Switch 31793.7 Ops/sec
Object Literal 26667.4 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;