Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126
Linux
Desktop
7 months ago
Test name Executions per second
flatMap 3613.9 Ops/sec
for loop 23158.4 Ops/sec
Script Preparation code:
Tests:
  • flatMap

  • for loop