Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
reduce 3145.9 Ops/sec
flatMap 77129.1 Ops/sec
flat 78354.8 Ops/sec
reduce push 134546.4 Ops/sec
forEach push 45033.5 Ops/sec
concat spread 146257.8 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • flatMap

  • flat

  • reduce push

  • forEach push

  • concat spread