Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_4_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 [FBAN/FBIOS;FBDV/iPhone7,2;FBMD/iPhone;FBSN/iOS;FBSV/12.4.4;FBSS/2;FBID/phone;FBLC/pt_BR;FBOP/5;FBCR/VIVO]
Mobile Safari 12
iOS 12.4.4
Mobile
4 years ago
Test name Executions per second
Switch 211113.7 Ops/sec
Object Literal 188500.4 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;