-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[opt](function) Optimize the trim function for single-char inputs #36497
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity be ut coverage result: |
run buildall |
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 40130 ms
|
TPC-DS: Total hot run time: 173555 ms
|
ClickBench: Total hot run time: 30.34 s
|
run buildall |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 39469 ms
|
TPC-DS: Total hot run time: 174132 ms
|
ClickBench: Total hot run time: 29.84 s
|
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
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
run p0 |
run buildall |
TeamCity be ut coverage result: |
ClickBench: Total hot run time: 30.95 s
|
run p0 |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity be ut coverage result: |
TPC-H: Total hot run time: 40468 ms
|
TPC-DS: Total hot run time: 169343 ms
|
ClickBench: Total hot run time: 31.57 s
|
run buildall |
TPC-H: Total hot run time: 39461 ms
|
TPC-DS: Total hot run time: 173909 ms
|
ClickBench: Total hot run time: 31.1 s
|
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
PR approved by at least one committer and no changes requested. |
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
…6497) before ``` mysql [test]>select count(ltrim(str,"1")) from stringDb2; +------------------------+ | count(ltrim(str, '1')) | +------------------------+ | 64000000 | +------------------------+ 1 row in set (7.79 sec) ``` now ``` mysql [test]>select count(ltrim(str,"1")) from stringDb2; +------------------------+ | count(ltrim(str, '1')) | +------------------------+ | 64000000 | +------------------------+ 1 row in set (0.73 sec) ```
…ache#36497) before ``` mysql [test]>select count(ltrim(str,"1")) from stringDb2; +------------------------+ | count(ltrim(str, '1')) | +------------------------+ | 64000000 | +------------------------+ 1 row in set (7.79 sec) ``` now ``` mysql [test]>select count(ltrim(str,"1")) from stringDb2; +------------------------+ | count(ltrim(str, '1')) | +------------------------+ | 64000000 | +------------------------+ 1 row in set (0.73 sec) ```
#37799) #36497 before ``` mysql [test]>select count(ltrim(str,"1")) from stringDb2; +------------------------+ | count(ltrim(str, '1')) | +------------------------+ | 64000000 | +------------------------+ 1 row in set (7.79 sec) ``` now ``` mysql [test]>select count(ltrim(str,"1")) from stringDb2; +------------------------+ | count(ltrim(str, '1')) | +------------------------+ | 64000000 | +------------------------+ 1 row in set (0.73 sec) ``` ## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
Proposed changes
before
now