-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
executor: remove unnecessary stack for insert and load data #52784
Conversation
Signed-off-by: Jack Yu <jackysp@gmail.com>
@@ -1838,3 +1839,26 @@ func BenchmarkAggPartialResultMapperMemoryUsage(b *testing.B) { | |||
func BenchmarkPipelinedRowNumberWindowFunctionExecution(b *testing.B) { | |||
b.ReportAllocs() | |||
} | |||
|
|||
func BenchmarkCompleteInsertErr(b *testing.B) { |
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.
How about adding this to
tidb/pkg/executor/union_scan_test.go
Line 399 in 91fb7d3
BenchmarkUnionScanIndexLookUpDescRead, |
So you can review the performance changes history like this
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.
Done, PTAL @tiancaiamao , thx!
Signed-off-by: Jack Yu <jackysp@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #52784 +/- ##
=================================================
- Coverage 70.8106% 55.9511% -14.8596%
=================================================
Files 1473 1595 +122
Lines 409033 609407 +200374
=================================================
+ Hits 289639 340970 +51331
- Misses 100130 245418 +145288
- Partials 19264 23019 +3755
Flags with carried forward coverage won't be shown. Click here to find out more.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hawkingrei, tiancaiamao The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
/test mysql-test |
@tiancaiamao: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test mysql-test |
@tiancaiamao: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What problem does this PR solve?
Issue Number: close #52783
Problem Summary:
What changed and how does it work?
Add stack when necessary.
master vs. this PR for
completeInsertErr
master vs. this PR for
completeLoadErr
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.