Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
reduce with push
31K/s
flatMap
5K/s
reduce with spread
27/s

Fastest: reduce with push (1142.7x faster)

View exact numbers
  • reduce with push: 31,017 ops/sec
  • flatMap: 5,174 ops/sec
  • reduce with spread: 27 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
    reduce with spread
    flatMap
    reduce with push

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 Edg/139.0.0.0
Chrome 139 on Windows
View result in a separate tab
reduce with push
15K/s
flatMap
2K/s
reduce with spread
12/s
View exact numbers
Test name Executions per second
reduce with push 14,786 Ops/sec
flatMap 2,244 Ops/sec
reduce with spread 12 Ops/sec