-
Notifications
You must be signed in to change notification settings - Fork 753
statistics: use Loads/StoreStats and HistoryLoads instead of []float64 and [][]float64 #9279
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
Conversation
Signed-off-by: okJiang <819421878@qq.com>
Signed-off-by: okJiang <819421878@qq.com>
|
/retest |
1 similar comment
|
/retest |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #9279 +/- ##
==========================================
- Coverage 75.98% 75.94% -0.05%
==========================================
Files 473 473
Lines 73625 73683 +58
==========================================
+ Hits 55945 55956 +11
- Misses 14181 14215 +34
- Partials 3499 3512 +13
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
/cc @lhy1024 |
pkg/statistics/store_load.go
Outdated
| type HistoryLoads [utils.DimLen][] /* buffer size */ float64 | ||
|
|
||
| // StoreStats is a vector that contains different dimensions of store stat. | ||
| type StoreStats [utils.StoreStatCount]float64 |
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.
I think it's a little bit confusing between this variable and Loads. e.g., GetStoresLoads returns StoreStats.
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.
Do you have any suggestions on this? They had this confusion before. I originally intended to use StoreLoads, but I found that there is also a concept called StoreStatCount.
Signed-off-by: okJiang <819421878@qq.com>
Signed-off-by: okJiang <819421878@qq.com>
Signed-off-by: okJiang <819421878@qq.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bufferflies, rleungx The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
What problem does this PR solve?
Issue Number: Ref #4399
What is changed and how does it work?
Check List
Tests
Release note