HTML Preparation code:
Tests:

Historical Performance Data aggregated from 28 community runs

Desktop Results:
Chrome 28 runs
array flat
284K/s
lodash flatten
276K/s
View exact numbers
  • array flat: 283,829 ops/sec
  • lodash flatten: 276,180 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
    array flat
    lodash flatten

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Chrome 143 on Windows
View result in a separate tab
array flat
283K/s
lodash flatten
258K/s
View exact numbers
Test name Executions per second
array flat 283,127 Ops/sec
lodash flatten 258,273 Ops/sec