Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0
Firefox 92
Windows
Desktop
3 years ago
Test name Executions per second
native 1 3077499.2 Ops/sec
native 2 3361607.2 Ops/sec
Native(ES2019) 5289592.5 Ops/sec
flatMap 4535721.0 Ops/sec
_.flatten 5169949.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • native 1

  • native 2

  • Native(ES2019)

  • flatMap

  • _.flatten