Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-3244

mongo-go-driver - PR #1672: GODRIVER-3096 Remove "stats" package dependency

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: 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?

      timothy-kim-mongo has created PR #1672: GODRIVER-3096 Remove "stats" package dependency in mongo-go-driver

      Issue Text:
      GODRIVER-3096

        1. Summary

      The changes in this pull-request answers the ticket GODRIVER-3096 of removing the "github.com/montanaflynn/stats" dependency from the Go driver module. This is done by moving the internal/benchmark code into internal/cmd/benchmark (the only placed where the "stats" package is used) to make the benchmark system its own submodule so it can pull in additional dependencies.

        1. Background & Motivation

      [PR 1507](https://github.com/mongodb/mongo-go-driver/pull/1507) (tentatively) removes the need to calculate 90th percentile and standard deviation for RTT samples. Those are the last two "production" use cases for the "github.com/montanaflynn/stats" package in the Go driver. We should remove all other uses of the "stats" package so we can remove it from the Go driver dependencies.

            Assignee:
            matt.dale@mongodb.com Matt Dale
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: