Skip to content
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

Dynamic dispatch infrastructure for class member functions #37257

Conversation

kitaisreal
Copy link
Collaborator

Changelog category (leave one):

  • Performance Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Improve performance of avg, sum aggregate functions if used without GROUP BY expression.

@robot-ch-test-poll robot-ch-test-poll added the pr-performance Pull request with some performance improvements label May 16, 2022
@kitaisreal kitaisreal force-pushed the dynamic-dispatch-infrastructure-for-class-members branch from c19023b to 032b5d3 Compare May 16, 2022 15:05
@kitaisreal
Copy link
Collaborator Author

Query

SELECT avg(key) FROM ( SELECT materialize(toNullable(1)) AS key FROM numbers(100000000) )";

Before

localhost:9000, queries 59, QPS: 15.123, RPS: 1512722049.488, MiB/s: 11541.153, result RPS: 15.123, result MiB/s: 0.000.

After

localhost:9000, queries 23, QPS: 22.770, RPS: 2277610947.922, MiB/s: 17376.793, result RPS: 22.770, result MiB/s: 0.000.

@kitaisreal kitaisreal added the can be tested Allows running workflows for external contributors label May 16, 2022
@alexey-milovidov alexey-milovidov self-assigned this May 16, 2022
@kitaisreal kitaisreal merged commit 20380fa into ClickHouse:master May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can be tested Allows running workflows for external contributors pr-performance Pull request with some performance improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants