Run details:
Mozilla/5.0 (Linux; Android 8.0.0; PRA-TL10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Chrome Mobile 109
Android 8.0.0
Mobile
one year ago
Test name Executions per second
reduce 1176.0 Ops/sec
flatMap 564.9 Ops/sec
flat 577.0 Ops/sec
reduce push 10099.6 Ops/sec
forEach push 8793.2 Ops/sec
concat spread 32938.3 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • flatMap

  • flat

  • reduce push

  • forEach push

  • concat spread