Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Ubuntu
Desktop
one year ago
Test name Executions per second
reduce 1000.3 Ops/sec
flatMap 33563.5 Ops/sec
flat 34372.3 Ops/sec
reduce push 55507.7 Ops/sec
forEach push 12915.1 Ops/sec
concat spread 56816.4 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • flatMap

  • flat

  • reduce push

  • forEach push

  • concat spread