Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 [FBAN/FBIOS;FBDV/iPhone7,2;FBMD/iPhone;FBSN/iOS;FBSV/12.5.1;FBSS/2;FBID/phone;FBLC/vi_VN;FBOP/5]
Mobile Safari 12
iOS 12.5.1
Mobile
3 years ago
Test name Executions per second
flatMap 2215.9 Ops/sec
reduce 56.1 Ops/sec
while 2167.8 Ops/sec
Script Preparation code:
Tests:
  • flatMap

  • reduce

  • while