Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110
Linux
Desktop
one year ago
Test name Executions per second
reduce 9762.8 Ops/sec
flatMap 3241.7 Ops/sec
flat 3299.4 Ops/sec
reduce push 47318.3 Ops/sec
forEach push 43649.1 Ops/sec
concat spread 192303.1 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • flatMap

  • flat

  • reduce push

  • forEach push

  • concat spread