Script Preparation code:
Tests:

Historical Performance Data aggregated from 15 community runs

Desktop Results:
Chrome 15 runs
Test flatMap
358/s
Test map/flat
288/s

Fastest: Test flatMap (1.2x faster)

View exact numbers
  • Test flatMap: 358 ops/sec
  • Test map/flat: 288 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
    Test flatMap
    Test map/flat

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Chrome 142 on Mac OS X 10.15.7
View result in a separate tab
Test flatMap
379/s
Test map/flat
312/s
View exact numbers
Test name Executions per second
Test flatMap 379 Ops/sec
Test map/flat 312 Ops/sec