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

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • 4.10.0
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Not Needed

      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

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

              Created:
              Updated:
              Resolved: