Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
reduce 3219.4 Ops/sec
flatMap 78789.2 Ops/sec
flat 80106.9 Ops/sec
reduce push 137216.8 Ops/sec
forEach push 50254.0 Ops/sec
concat spread 148620.1 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • flatMap

  • flat

  • reduce push

  • forEach push

  • concat spread