-
Notifications
You must be signed in to change notification settings - Fork 726
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
*: reduce the store clone #1410
Conversation
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.
Can you share the benchmark result?
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.
the rest LGTM
9aa1f73
to
ea9a0bb
Compare
Codecov Report
@@ Coverage Diff @@
## master #1410 +/- ##
=========================================
Coverage ? 67.81%
=========================================
Files ? 158
Lines ? 14986
Branches ? 0
=========================================
Hits ? 10163
Misses ? 3901
Partials ? 922
Continue to review full report at Codecov.
|
ea9a0bb
to
11bb9b7
Compare
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
3f6e2b2
to
01984c1
Compare
Here are the benchmark results:
PTAL @disksing @nolouch @siddontang |
/rebuild |
Signed-off-by: rleungx <[email protected]>
Signed-off-by: rleungx <[email protected]>
Signed-off-by: rleungx <[email protected]>
Signed-off-by: rleungx <[email protected]>
Signed-off-by: rleungx <[email protected]>
63fdd4b
to
1ab3205
Compare
The result looks awesome, but please fix the CI. |
/rebuild |
The CI problem is not related to this PR. @huachaohuang |
/rebuild |
What problem does this PR solve?
When there are lots of stores,
GetStores
will cost a lot of time due toClone
.What is changed and how it works?
This PR tries to reduce the store clone when using
GetStore
andGetStores
.Check List
Tests