Refactor and speed-up the periodic BW tests
Compare changes
FYI @shunan @nskidmor @sstahl @lugrazet
Goes with lhcb/Moore!2651 (merged) and lhcb-core/LHCbPR2HD!260 (merged)
Major changes:
make_bandwidth_test_page.py
to reduce code duplication and shorten.Moore_bandwidth_tests.sh
rather than having lots of code duplication across the 3 Moore_{hlt2, hlt2_2023, spruce}_bandwidth.sh
wrapper scripts. The 3 wrapper scripts now just call Moore_bandwidth_tests.sh
as a subprocess with 2 arguments.FileNameHelper
class, which ensures we keep the number of hard-coded paths across the BW tests to a minimum.The first of these should cut the runtime of the BW tests by about a quarter. The removal of the filesize jobs might save a few minutes, in particular for the HLT2 tests.
Across-the-board there is some effort (larger in some places than others) to cleanup code duplication.
TODO:
combine-{hlt2,spruce}-output.py
to a single script with argparse
,Moore_{hlt2,spruce}_bandwidth.sh
wrapper scripts,