-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Speed up filesFromList and filesFromDASQuery in ConfigBuilder.py #29454
Conversation
The code-checks are being triggered in jenkins. |
please test |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29454/14642
|
The tests are being triggered in jenkins. |
A new Pull Request was created by @kpedro88 (Kevin Pedro) for master. It involves the following packages: Configuration/Applications @cmsbuild, @silviodonato, @franzoni, @fabiocos, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
code-checks |
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29454/14644
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
Thanks for making the PR, @kpedro88 . Should this be backported to the DR campaign releases, 8_0_X/9_4_X/10_2_X? |
10_6_X is probably the most impactful backport, but I can also backport to the other suggested release cycles. I'd like to get the master PR approved first, though, to streamline the backporting process. @silviodonato please take a look |
+operations |
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. @silviodonato, @dpiparo (and backports should be raised in the release meeting by the corresponding L2) |
Yes, 10_6_X is the most important backport (Run-2 ultra legacy). The improvement is impressive ( 20.75 minutes --> 2.8 seconds) so I would backport also to 10_2_X, that is used for Run-2 analysis. Also a backport to 8_0_X and 9_4_X can be useful for the DR campaigns. |
+1 |
PR description:
Thanks to @DryRun for pointing out that the function
filesFromList()
was unnecessarily slow, especially when parsing an entire premixed pileup sample.Loading a text file list generated by this command:
Before the change: 20.75 minutes
After the change: 2.8 seconds
The same fix is propagated to
filesFromDASQuery()
.PR validation:
Confirmed same output from function.