-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GODRIVER-3096 Remove "stats" package dependency #1672
GODRIVER-3096 Remove "stats" package dependency #1672
Conversation
codespell failed in pre_commit test because of lorem ipsum string mispelled words in the test strings of internal/cmd/benchmark/operation_test.go |
You can add that file to the exclude regex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question/recommendation about Go versions, otherwise looks great!
Co-authored-by: Matt Dale <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
GODRIVER-3096
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.
Background & Motivation
PR 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.