Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Windows 7
Desktop
one year ago
Test name Executions per second
.flatMap() 350132.3 Ops/sec
.map() then .flat() 348242.9 Ops/sec
.concat() 2223054.8 Ops/sec
Tests:
  • .flatMap()

  • .map() then .flat()

  • .concat()