-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Milestone
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
I think the original issue #8235 is solved, but somehow my executions take now way longer... e.g. I iterate over a big collection without any conditions ({}) and I "only" get arround 250 entries/seconds. With mongoose 5.6 I got around 2000-3000 per second. I tried playing around with batchSize, but it seems it does not make any difference. Unsure how to dbeug this correclty, but could it be that batchSize does not apply anymore?
What is the expected behavior?
Faster query results.
What are the versions of Node.js, Mongoose and MongoDB you are using? Note that "latest" is not a version.
tested with v12.13.0
mongoose: v5.7.6
mongodb: 4.2.1