Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
reduce with push
14K/s
flatMap
4K/s

Fastest: reduce with push (3.6x faster)

View exact numbers
  • reduce with push: 14,433 ops/sec
  • flatMap: 4,040 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 with push

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 10 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0
Firefox 144 on Mac OS X 10.15
View result in a separate tab
reduce with push
27K/s
flatMap
7K/s
View exact numbers
Test name Executions per second
reduce with push 26,512 Ops/sec
flatMap 7,089 Ops/sec