-
Notifications
You must be signed in to change notification settings - Fork 908
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
fix wrong implementation for percentile
in bookkeeper-benchmark
#3864
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3864 +/- ##
=============================================
- Coverage 65.25% 39.84% -25.41%
+ Complexity 6504 3943 -2561
=============================================
Files 473 473
Lines 40987 40987
Branches 5243 5243
=============================================
- Hits 26745 16332 -10413
- Misses 12040 22894 +10854
+ Partials 2202 1761 -441
Flags with carried forward coverage won't be shown. Click here to find out more. see 267 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Sorry for my late reply, Could you please rebase the master code? There may has some flaky tests. |
According to `https://stackoverflow.com/questions/12808934/what-is-p99-latency`, the implementation for `percentile` in bookkeeper-benchmark is wrong. Co-authored-by: ZhangJian He <shoothzj@gmail.com> Signed-off-by: ZhangJian He <shoothzj@gmail.com>
f5cd426
to
8e96008
Compare
@trevor211 Thanks for your contribution, looking forward to your future contributions. :) |
) According to `https://stackoverflow.com/questions/12808934/what-is-p99-latency`, the implementation for `percentile` in bookkeeper-benchmark is wrong. Signed-off-by: ZhangJian He <shoothzj@gmail.com> Co-authored-by: ZhangJian He <shoothzj@gmail.com> (cherry picked from commit 55ffbd7)
) According to `https://stackoverflow.com/questions/12808934/what-is-p99-latency`, the implementation for `percentile` in bookkeeper-benchmark is wrong. Signed-off-by: ZhangJian He <shoothzj@gmail.com> Co-authored-by: ZhangJian He <shoothzj@gmail.com> (cherry picked from commit 55ffbd7)
…ache#3864) According to `https://stackoverflow.com/questions/12808934/what-is-p99-latency`, the implementation for `percentile` in bookkeeper-benchmark is wrong. Signed-off-by: ZhangJian He <shoothzj@gmail.com> Co-authored-by: ZhangJian He <shoothzj@gmail.com>
According to
https://stackoverflow.com/questions/12808934/what-is-p99-latency
, the implementation forpercentile
in bookkeeper-benchmark is wrong.Descriptions of the changes in this PR:
Motivation
When I did benchmark tests using bookeeper-benchmark, I found that the percentile output seemed wrong. After checking the source code I think the current implementation is wrong.
Changes
Fix function
percentile
in bookkeeper-benchmark to make it corrent.