Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
flatMap
2K/s
reduce
31/s

Fastest: flatMap (68.3x faster)

View exact numbers
  • flatMap: 2,090 ops/sec
  • reduce: 31 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
    flatMap
    reduce

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
Chrome 149 on Windows
View result in a separate tab
flatMap
2K/s
reduce
15/s
View exact numbers
Test name Executions per second
flatMap 1,972 Ops/sec
reduce 15 Ops/sec