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
don't create a new StringCutObjectSelector every event #23058
don't create a new StringCutObjectSelector every event #23058
Conversation
The code-checks are being triggered in jenkins. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23058/4462 Code check has found code style and quality issues which could be resolved by applying a patch in https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23058/4462/git-diff.patch You can run |
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-23058/4463 |
A new Pull Request was created by @dan131riley (Dan Riley) for master. It involves the following packages: HeavyFlavorAnalysis/Onia2MuMu @gpetruc, @cmsbuild, @arizzi, @monttj can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
This change was requested by @Dr15Jones |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
merge |
OniaPhotonConversionProducer currently creates a new StringCutObjectSelector every event in the produce() method. This is a relatively heavyweight operation that also has implications for scalability (because under the hood TClass::GetClass gets called, which acquires a ROOT global lock). This PR moves the allocation of the StringCutObjectSelector to the constructor and improves the memory management.
No change to functionality.