Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Windows
Desktop
one year ago
Test name Executions per second
.filter.map 1990008.1 Ops/sec
.flatMap 69523.3 Ops/sec
filterMapEntries 995741.3 Ops/sec
filterMapIndices 3028306.8 Ops/sec
Script Preparation code:
Tests:
  • .filter.map

  • .flatMap

  • filterMapEntries

  • filterMapIndices