HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
Vanilla js flatmap
4.5M/s
lodash.flatMap
4.3M/s
View exact numbers
  • Vanilla js flatmap: 4,531,735 ops/sec
  • lodash.flatMap: 4,315,171 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
    Vanilla js flatmap
    lodash.flatMap

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129 on Windows
View result in a separate tab
lodash.flatMap
4.3M/s
Vanilla js flatmap
4.1M/s
View exact numbers
Test name Executions per second
lodash.flatMap 4,297,726 Ops/sec
Vanilla js flatmap 4,125,827 Ops/sec