Run details:
Mozilla/5.0 (Windows NT 10.0; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Windows
Desktop
2 years ago
Test name Executions per second
native 1 4526520.5 Ops/sec
native 2 7844085.0 Ops/sec
Native(ES2019) 7284209.5 Ops/sec
flatMap 7430631.0 Ops/sec
_.flatten 8596382.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • native 1

  • native 2

  • Native(ES2019)

  • flatMap

  • _.flatten