Run details:
Mozilla/5.0 (X11; CrOS x86_64 14588.98.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.59 Safari/537.36
Chrome 101
Chrome OS 14588.98.0
Desktop
2 years ago
Test name Executions per second
native 1 1712169.4 Ops/sec
native 2 2009921.4 Ops/sec
Native(ES2019) 940762.8 Ops/sec
flatMap 759042.7 Ops/sec
_.flatten 2614199.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • native 1

  • native 2

  • Native(ES2019)

  • flatMap

  • _.flatten