Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-4612

Investigate NODE-4611 - Performance-Regression - Simple Find Query - Node16 vs Node18

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Unknown
    • Resolution: Done
    • None
    • 4.10.0
    • None
    • 2
    • Not Needed

    Description

      NODE-4611 Description

      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

      Attachments

        Issue Links

          Activity

            People

              durran.jordan@mongodb.com Durran Jordan
              dbeng-pm-bot PM Bot
              Durran Jordan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: