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

Performance improvement in PAT helpers.py (62X) #728

Merged
merged 2 commits into from Oct 6, 2013

Conversation

makortel
Copy link
Contributor

@makortel makortel commented Sep 6, 2013

Remove unnecessary copying in PAT helpers.MassSearchReplaceAnyInputTagVisitor. This can result a significant speedup in configuration parsing depending how many times massSearchReplaceAnyInputTag() function is called. Results identical dump (process.dumpPython()) in my tests. Also add unit test for the function.

Backport of PR #727.

…tTagVisitor()

According to help(cms.PSet) parameters_() copies all the contained
parameter objects, while in this case it is enough to iterate over the
names.
@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 6, 2013

A new Pull Request was created by @makortel (Matti Kortelainen) for CMSSW_6_2_X.

Performance improvement in PAT helpers.py (62X)

It involves the following packages:

PhysicsTools/PatAlgos

@vadler can you please review it and eventually sign? Thanks.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.

@vadler
Copy link

vadler commented Sep 24, 2013

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next IBs unless changes or unless it breaks tests. @davidlt can you please take care of it?

@fabiocos
Copy link
Contributor

fabiocos commented Oct 4, 2013

+1

@ghost ghost assigned davidlt Oct 6, 2013
davidlt added a commit that referenced this pull request Oct 6, 2013
Performance improvement in PAT helpers.py (62X)
@davidlt davidlt merged commit 0c9b28b into cms-sw:CMSSW_6_2_X Oct 6, 2013
@makortel makortel deleted the pathelpers62x branch October 20, 2016 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants