Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1
Mobile Safari 16
iOS 16.6
Mobile
one year ago
Test name Executions per second
native 1 12675702.0 Ops/sec
native 2 8029560.5 Ops/sec
Native(ES2019) 12016770.0 Ops/sec
flatMap 11644883.0 Ops/sec
_.flatten 8838771.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • native 1

  • native 2

  • Native(ES2019)

  • flatMap

  • _.flatten