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

Measure startup memory usage of the driver

    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Use Case

      As a... user of the Node.js driver
      I want... the node driver to proactively monitor its startup memory usage/loading time
      So that... I don't experience surprise startup performance issues when upgrading to a new version of the driver

      User Impact

      • All users would be affected by an increase in startup memory usage, but it would likely affect FAAS users the most (depending on the module caching).

      Dependencies

      • N/A

      Unknowns

      • What is the best way to get a consistent metric in CI? When measuring the startup memory/time, should we measure the absolute quantity or relative?

      Acceptance Criteria

      Implementation Requirements

      • Create a performance test to measure startup memory and loading time of the node driver
      • Add a new task to the evergreen performance test variant
      • Target the dedicated perf test distro
      • Output the results into a json format and push it to the analytics backend using `perf.send`

      Testing Requirements

      • Confirm that the trend chart tab is present in the new CI task

      Documentation Requirements

      • N/A

      Follow Up Requirements

      • N/A

            Assignee:
            Unassigned Unassigned
            Reporter:
            daria.pardue@mongodb.com Daria Pardue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: