HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 11 community runs

Desktop Results:
Chrome 11 runs
_.flattenDeep
6.7M/s
Native(ES2019)
5.8M/s
native 2
1.3M/s
// Native
1.1M/s

Fastest: _.flattenDeep (5.9x faster)

View exact numbers
  • _.flattenDeep: 6,729,920 ops/sec
  • Native(ES2019): 5,801,457 ops/sec
  • native 2: 1,279,577 ops/sec
  • // Native: 1,138,194 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    _.flattenDeep
    // Native
    Native(ES2019)
    native 2

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Chrome 133 on Mac OS X 10.15.7
View result in a separate tab
_.flattenDeep
18.8M/s
Native(ES2019)
13.5M/s
native 2
4.6M/s
// Native
4.3M/s
View exact numbers
Test name Executions per second
_.flattenDeep 18,807,174 Ops/sec
Native(ES2019) 13,471,334 Ops/sec
native 2 4,616,020 Ops/sec
// Native 4,307,239 Ops/sec