Add Precompiled header for modules & Refine by PImpl to accelerate release build#5047
Add Precompiled header for modules & Refine by PImpl to accelerate release build#5047ti-chi-bot merged 18 commits intopingcap:masterfrom
Precompiled header for modules & Refine by PImpl to accelerate release build#5047Conversation
|
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. DetailsReviewer can indicate their review by submitting an approval review. |
|
/hold |
|
/run-unit-test |
|
/run-integration-test |
|
/run-all-tests |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
/merge |
|
@solotzg: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. DetailsInstructions 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 ti-community-infra/tichi repository. |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 5662fdd |
|
/hold |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
/merge |
|
@solotzg: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. DetailsInstructions 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 ti-community-infra/tichi repository. |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 96567cd |
Coverage for changed filesCoverage summaryfull coverage report (for internal network access only) |
|
/unhold |
What problem does this PR solve?
Issue Number: ref #4909
Problem Summary:
Ref: https://solotzg.github.io/2022/06/01/system/cpp-compile-optimize/#%E9%A2%84%E7%BC%96%E8%AF%91%E5%A4%B4%E6%96%87%E4%BB%B6%EF%BC%88PCH%EF%BC%89
Before
After
With the help of LTO(#4890, #4924), Forward declaration won't hurt performance because linker(lld) will make short functions inline automatically.
For example: use
objdump -d, there will be only one entry to functionPlusDecimalInferer::inferin code section. There is no other function call towardsPlusDecimalInferer::inferby instructioncallq.What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note