Skip to content

remove slow Loki import

Christoph Hasse requested to merge loki_heavy_import into master

I noticed that for a standard HLT1 job more than half of the python startup time comes from importing LoKiCore.decorators

Tests in LHCb seem to run fine without it though.
Let's see what the CI tests say.

To be honest, it's not obvious to me what this import is needed for. It seems maybe related to some interactive LoKi sessions?
@clemenci @graven @ibelyaev if anyone of you knows more and could shed some light on this I'd really appreciate it.
If in fact it is mostly used for interactive sessions, what would be the best way to somehow make these still work while getting around this import for a normal job?

cc @rmatev

Edited by Christoph Hasse

Merge request reports