Run details:
Mozilla/5.0 (Android 11; Mobile; rv:95.0) Gecko/95.0 Firefox/95.0
Firefox Mobile 95
Android
Mobile
3 years ago
Test name Executions per second
reduce + Array.prototype.concat 350670.8 Ops/sec
Array.prototype.flatMap 293416.0 Ops/sec
Script Preparation code:
Tests:
  • reduce + Array.prototype.concat

  • Array.prototype.flatMap