update runHLTTiming script to be more modular#50398
Conversation
|
test parameters:
|
|
cms-bot internal usage |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-50398/48499
|
|
A new Pull Request was created by @mmusich for master. It involves the following packages:
@Martin-Grunewald, @cmsbuild, @mmusich can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
@cmsbuild, please test |
|
+1 Size: This PR adds an extra 20KB to repository HLT P2 Timing: chart Comparison SummarySummary:
|
|
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, @ftenchini, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |






PR description:
This PR refactors the benchmarking script by introducing two helper functions,
run_cmsdriverandrun_benchmark, in order to reduce code duplication and improve maintainability.The main changes are:
cmsDriver.pyinvocation into a reusable functionrun_cmsdriver.patatrack-scripts/benchmarkworkflow into a reusable functionrun_benchmark.No changes are expected in the output of the script. The refactoring is purely structural and intended to make future modifications (e.g. adding new menus or benchmark configurations) easier and less error-prone.
No additional dependencies are introduced and this PR does not depend on other PRs.
PR validation:
Will rely on the testing from the bot.
Since this change only reorganizes existing code without altering the workflow logic, no additional unit tests or matrix workflows were required.
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
This PR is not a backport.