-
Type: Bug
-
Resolution: Duplicate
-
Priority: Unknown
-
None
-
Affects Version/s: 4.9.1
-
Component/s: None
-
Empty show more show less
-
Not Needed
What problem are you facing?
Signifikant performance regression (~20%) for simple Find-Queries after Node-Version-Upgrade.
What driver and relevant dependency versions are you using?
MongoDB-Version: 4.2
MongoDB-Node-Driver: 4.9.1
NodeJS-Version: 16.15.1
NodeJS-Version: 18.8.0
Steps to reproduce?
See attached simple file.
-> Create some data (it seems like count is more important than size of the documents)
-> Execute simple Find-Queries
My times from the attached file:
Node16:
async iteration: 2.144s
toArray: 2.080s
Node18:
async iteration: 2.606s
toArray: 2.493s