Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Linux
Desktop
one year ago
Test name Executions per second
flatMap 17352.1 Ops/sec
reduce 75.8 Ops/sec
while 35546.5 Ops/sec
foreach 296161.1 Ops/sec
Script Preparation code:
Tests:
  • flatMap

  • reduce

  • while

  • foreach