Run details:
Mozilla/5.0 (Linux; Android 9; SM-J730F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Mobile Safari/537.36 OPR/64.2.3282.60128
Opera Mobile 64
Android
Mobile
3 years ago
Test name Executions per second
native 1 112696.3 Ops/sec
native 2 134158.2 Ops/sec
Native(ES2019) 85197.1 Ops/sec
flatMap 81578.5 Ops/sec
_.flatten 161824.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • native 1

  • native 2

  • Native(ES2019)

  • flatMap

  • _.flatten