-
Notifications
You must be signed in to change notification settings - Fork 4.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
Avoid allocations in ParentageID #46729
Conversation
We were cycling memory each time a module put a data product into the event. This now has the ParentageID hold the 16 bytes directly instead of indirectly via a std::string.
cms-bot internal usage |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46729/42699 |
A new Pull Request was created by @Dr15Jones for master. It involves the following packages:
@Dr15Jones, @makortel, @smuzaffar can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
+1 Size: This PR adds an extra 28KB to repository The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
You can see more details here: Comparison SummarySummary:
|
One question is should cmssw/DataFormats/Provenance/src/ProductProvenanceLookup.cc Lines 42 to 57 in f472813
be changed to deal with the fact that we do not need to do a move anymore? |
We agreed that it should be changed. |
The full build log shows
which seems to be coming from LTO, but from code not touched by this PR. With @Dr15Jones we have no clue what could be causing the warning. @smuzaffar Is this warning not being flagged in the PR test summary because the I also noticed this warning was shown a second time later in the build log for the same shared library (including the same |
please test |
@makortel , we only report warnings which comes directory from cmssw files e.g. warnings which match |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46729/42744 |
Pull request #46729 was updated. @Dr15Jones, @cmsbuild, @makortel, @smuzaffar can you please check and sign again. |
please test |
+1 Size: This PR adds an extra 28KB to repository Comparison SummarySummary:
|
Comparison differences are related to #46416 |
+core |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @mandrenguyen, @rappoccio, @sextonkennedy, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2) |
In the latest test the number of allocations in the same job decreases by 73131 |
+1 |
PR description:
We were cycling memory each time a module put a data product into the event. This now has the ParentageID hold the 16 bytes directly instead of indirectly via a std::string.
PR validation:
All framework unit tests pass.