Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 [FBAN/FBIOS;FBDV/iPhone12,5;FBMD/iPhone;FBSN/iOS;FBSV/13.2.2;FBSS/3;FBID/phone;FBLC/en_GB;FBOP/5;FBCR/3 Ireland]
Mobile Safari 13
iOS 13.2.2
Mobile
5 years ago
Test name Executions per second
Switch 1140156.2 Ops/sec
Object Literal 1051122.4 Ops/sec
Script Preparation code:
Tests:
  • Switch

  • Object Literal


;