HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 19 community runs

Desktop Results:
Chrome 19 runs
lodash.flatMap
3.9M/s
Vanilla js flatmap
2.3M/s

Fastest: lodash.flatMap (1.7x faster)

View exact numbers
  • lodash.flatMap: 3,947,204 ops/sec
  • Vanilla js flatmap: 2,290,504 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/130.0.0.0 Safari/537.36
Chrome 130 on Windows
View result in a separate tab
lodash.flatMap
89K/s
Vanilla js flatmap
76K/s
View exact numbers
Test name Executions per second
lodash.flatMap 88,669 Ops/sec
Vanilla js flatmap 75,532 Ops/sec