DPL Analysis: avoid instantiating HistFactory functions for each TU#6302
DPL Analysis: avoid instantiating HistFactory functions for each TU#6302ktf merged 2 commits intoAliceO2Group:devAliceO2Group/AliceO2:devfrom
Conversation
mario-krueger
commented
Jun 2, 2021
- move histogram creation code to HistogramSpec.cxx
- instantiate histogram creation templates only once
- move histogram creation code to HistogramSpec.cxx - instantiate histogram creation templates only once
|
This is only a first cleanup step to improve compile time and memory related to the HistogramRegistry. |
|
Thank you for this. You can check how long a given file takes to compile by using: scripts/profile-compilation ./Analysis/Tasks/PWGHF/taskXic.cxxThere is also a script which is called That said when I try to do a full compilation with clang and |
|
Thanks for the hints! That will be very helpful. |
|
Yes, agreed. |
|
Errors unrelated. macOS tested on my own box. |
…liceO2Group#6302) - move histogram creation code to HistogramSpec.cxx - instantiate histogram creation templates only once
…liceO2Group#6302) - move histogram creation code to HistogramSpec.cxx - instantiate histogram creation templates only once