Can anyone make some explanations on that phenomenon?
Hi,
It’s been a while since you posted this question, have you found an answer yet ?
Map-Reduce passes every single document in the collection i.e. 2394651 into the map function.
Not only you have to take account of the iteration time, but the additional time it takes to execute your map function per document.
Unless you have a specific use case that requires Map Reduce, I would recommend to either use find() or Aggregation Pipeline
Regards,
Wan.