Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_1_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/16D57 [FBAN/FBIOS;FBDV/iPhone8,2;FBMD/iPhone;FBSN/iOS;FBSV/12.1.4;FBSS/3;FBID/phone;FBLC/vi_VN;FBOP/5]
Mobile Safari 12
iOS 12.1.4
Mobile
3 years ago
Test name Executions per second
flatMap 16332.3 Ops/sec
reduce 135.2 Ops/sec
while 6460.0 Ops/sec
Script Preparation code:
Tests:
  • flatMap

  • reduce

  • while