Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36
Chrome Mobile 130
Android
Mobile
13 days ago
Test name Executions per second
reduce 5928.9 Ops/sec
flatMap 12965.9 Ops/sec
flat 13409.4 Ops/sec
reduce push 13552.2 Ops/sec
forEach push 13685.7 Ops/sec
concat spread 122023.4 Ops/sec
Script Preparation code:
Tests:
  • reduce

  • flatMap

  • flat

  • reduce push

  • forEach push

  • concat spread