reducing HLT Control Flow timing by skipping empty steps CAs (ATR-28608)
This MR applies this:
- to reduce timing of CI tests for CA menu generation, skip the CA creation (and merging) of empty steps
- this is also fixing the same behaviour for non-CA version (so it should be faster as well)
- fix dot file creation that was exploded in size
- setting back flags.Trigger.generateMenuDiagnostics = True
In my local measurements, total time of “TriggerMenuMT_menu_CA_Dev_pp_run3_v1_ctest” goes from 14m49 to 9m51 (more similar to the non CA version of the test, which is 7m42). The size of the dot files is less than 18k in the emulation tests
Some measurements:
BEFORE THIS CHANGE:
generateAllChainConfigs: s 406.78861141204834
createDataFlow: s 71.0468430519104
createControlFlow : s 159.43443274497986
makeHLTTree: s 239.12427020072937
AFTER THIS CHANGE:
generateAllChainConfigs: s 387.633501291275
createDataFlow: s 77.56903553009033
createControlFlow : s 21.49549889564514
makeHLTTree: s 107.59406471252441
Edited by Francesca Pastore