Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 [FBAN/FBIOS;FBDV/iPhone11,6;FBMD/iPhone;FBSN/iOS;FBSV/14.6;FBSS/3;FBID/phone;FBLC/vi_VN;FBOP/5]
Mobile Safari 14
iOS 14.6
Mobile
3 years ago
Test name Executions per second
Arrow function 7494293.0 Ops/sec
Normal function 7340619.0 Ops/sec
Script Preparation code:
Tests:
  • Arrow function

  • Normal function