Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Linux
Desktop
one year ago
Test name Executions per second
native 1 2995681.0 Ops/sec
native 2 3723078.8 Ops/sec
Native(ES2019) 1738493.8 Ops/sec
flatMap 1642265.4 Ops/sec
_.flatten 4010239.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • native 1

  • native 2

  • Native(ES2019)

  • flatMap

  • _.flatten