Micro-optimizations for the new analyzer#63429
Micro-optimizations for the new analyzer#63429Algunenano merged 10 commits intoClickHouse:masterfrom
Conversation
|
This is an automated comment for commit 2165cc3 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
|
What do you think about adding a performance test with query from #39996? |
I expect |
Some of performance tests are really impacted by the interpretation speed. Mostly it's because of #62245. |
| Block JoiningTransform::transformHeader(Block header, const JoinPtr & join) | ||
| { | ||
| LOG_DEBUG(getLogger("JoiningTransform"), "Before join block: '{}'", header.dumpStructure()); | ||
| LOG_TEST(getLogger("JoiningTransform"), "Before join block: '{}'", header.dumpStructure()); |
There was a problem hiding this comment.
I don't mind either way. I'll set it to trace
There was a problem hiding this comment.
Let's see if there is any change to one_thousand_joins with TRACE vs TEST just in case
There was a problem hiding this comment.
Well, TEST apparently means 10% faster in one_thousand_joins. WDYT?
There was a problem hiding this comment.
IMHO 10% worth to get rid of these logs, but I'm not sure how useful is it for debugging. @vdimir WHYT?
There was a problem hiding this comment.
LOG_TEST would be fine, in case of a bug investigation, more debug needs to be added anyway.
| PenaltyExcessCharacter: 1000000 | ||
| PenaltyReturnTypeOnItsOwnLine: 60 | ||
| RemoveBracesLLVM: true | ||
| RemoveBracesLLVM: false |
There was a problem hiding this comment.
Yes. clang-format keeps trying to transform:
for (...)
{
if (...)
whatever
}And remove the parenthesis around the for, as it considers the if as a single line. I don't like it and it's a PITA.
4d0042e to
2dd8b22
Compare
734a422 to
2165cc3
Compare

Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Documentation entry for user-facing changes
2 changes:
updateHeader. It doesn't seem that we needed a list or copy the input (we can pass a const reference and deal with the copies manually). Let's see if the CI agrees.to stage {}. Keep the stage names, but don't print the query tree since that might be too expensive and doesn't give useful information.#39996 goes from ~52 QPS to ~59 QPS
Closes #39996