Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:134.0) Gecko/20100101 Firefox/134.0
Firefox 134
Mac OS X 10.15
Desktop
12 days ago
Test name Executions per second
flatMap 25484.9 Ops/sec
reduce 170.8 Ops/sec
while 50611.4 Ops/sec
foreach 848413.4 Ops/sec
Script Preparation code:
Tests:
  • flatMap

  • reduce

  • while

  • foreach