Skip to content

CFElements+Configurable: performance improvements

Frank Winklmeier requested to merge fwinkl/athena:config_speedup1 into 22.0

Two independent performance improvements that significantly speedup trigger menu generation (~30 seconds or ~15% in Dev_pp_run3_v1):

CFElements

getProp is called many times during the trigger configuration. Avoid unnecessary calls to the (slow) getValuedProperties function.

Configurable

builtins.__build_class__ shows up as a hotspot during job configuration. Move the helper collector class from function to class scope to avoid building it many times. This saves 15-20 seconds when building the trigger menu.

Also minor change to runHLT_standalone.py to make it work with athena --profile-python ....

Merge request reports