Good point! I just did that, and this is what I get:
map time (ms): 13755.813225030899
filter time(ms): 3706.2631920576096
reduce time(ms): 3794.9764149188995
for-loop time(ms): 2467.463256955147
Somehow, for me, the map-time takes about four times as long as the other functions (it's weird and I have no clue why), but the for-loop outperforms all others.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.