Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
loop with push
14K/s
reduce with push
12K/s
filter with a map
11K/s
flatMap
3K/s

Fastest: loop with push (4.5x faster)

View exact numbers
  • loop with push: 14,200 ops/sec
  • reduce with push: 12,274 ops/sec
  • filter with a map: 11,328 ops/sec
  • flatMap: 3,137 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
    loop with push
    filter with a map

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36
Chrome Mobile 141 on Android
View result in a separate tab
loop with push
7K/s
reduce with push
2K/s
filter with a map
2K/s
flatMap
1K/s
View exact numbers
Test name Executions per second
loop with push 7,244 Ops/sec
reduce with push 2,302 Ops/sec
filter with a map 1,548 Ops/sec
flatMap 1,307 Ops/sec