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

  • reduce

  • while