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

IGNITE-24732 Sql. Avoid expression lookup on every expression invocation #5369

Merged
merged 1 commit into from
Mar 10, 2025

Conversation

korlov42
Copy link
Contributor

@korlov42 korlov42 commented Mar 7, 2025

https://issues.apache.org/jira/browse/IGNITE-24732

Result of several queries from TPC-H suite on a single node cluster with scale factor 0.1:

Before
Benchmark          (fsync)  (queryId)  Mode  Cnt     Score    Error  Units
TpchBenchmark.run    false          1  avgt   20  1924.575 ±  3.575  ms/op
TpchBenchmark.run    false          2  avgt   20   256.358 ± 13.635  ms/op
TpchBenchmark.run    false          5  avgt   20   366.379 ±  0.677  ms/op
TpchBenchmark.run    false          7  avgt   20   548.897 ±  2.109  ms/op
TpchBenchmark.run    false          8  avgt   20   387.975 ±  3.322  ms/op
TpchBenchmark.run    false         22  avgt   20   417.330 ±  4.561  ms/op

After
Benchmark          (fsync)  (queryId)  Mode  Cnt     Score    Error  Units
TpchBenchmark.run    false          1  avgt   20   812.495 ±  3.205  ms/op
TpchBenchmark.run    false          2  avgt   20   257.707 ±  8.204  ms/op
TpchBenchmark.run    false          5  avgt   20   291.030 ±  0.732  ms/op
TpchBenchmark.run    false          7  avgt   20   253.482 ±  0.304  ms/op
TpchBenchmark.run    false          8  avgt   20   291.705 ±  0.796  ms/op
TpchBenchmark.run    false         22  avgt   20   362.490 ±  9.681  ms/op

Thank you for submitting the pull request.

To streamline the review process of the patch and ensure better code quality
we ask both an author and a reviewer to verify the following:

The Review Checklist

  • Formal criteria: TC status, codestyle, mandatory documentation. Also make sure to complete the following:
    - There is a single JIRA ticket related to the pull request.
    - The web-link to the pull request is attached to the JIRA ticket.
    - The JIRA ticket has the Patch Available state.
    - The description of the JIRA ticket explains WHAT was made, WHY and HOW.
    - The pull request title is treated as the final commit message. The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
  • Design: new code conforms with the design principles of the components it is added to.
  • Patch quality: patch cannot be split into smaller pieces, its size must be reasonable.
  • Code quality: code is clean and readable, necessary developer documentation is added if needed.
  • Tests code quality: test set covers positive/negative scenarios, happy/edge cases. Tests are effective in terms of execution time and resources.

Notes

@korlov42 korlov42 merged commit e81fcfb into apache:main Mar 10, 2025
1 check passed
@korlov42 korlov42 deleted the ignite-24732 branch March 10, 2025 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants