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

Update driver benchmarks to support improvement_direction metadata

    • None
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a... driver engineer
      I want... to add a metadata field to the BenchmarkModule type in the driver's new benchmark runner
      So that... we can set the improvement direction for each benchmark on a case-by-case basis

      User Experience

      • None

      Dependencies

      • None

      Risks/Unknowns

      • N/A

      Acceptance Criteria

      Implementation Requirements

      • Add a required metadata field to the BenchmarkModule type with an improvement_direction: 'up' | 'down' property
      • Update all benchmarks to export their metadata
      • Update runner.mts to correctly handle the metadata

      Testing Requirements

      • Manually verify that the perf.send document contains the appropriate metadata

      Documentation Requirements

      • N/A

      Follow Up Requirements

      • None

            Assignee:
            Unassigned Unassigned
            Reporter:
            warren.james@mongodb.com Warren James
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None