Open ZLLentz opened 4 years ago
I want to re-use some of the tools we employed in typhos
and distribute them to other libraries.
A first-pass simple but (maybe?) useful metric would be timing safe_load
blocks.
Also, related: loading speed has also drastically improved with @ZLLentz's environment deployment to local machines' hard drives.
I like the idea of timing safe_load
blocks, that will help us zero in on which parts of the load are particularly slow
I like it so much and it's so easy to do I'm going to implement it really quickly
INFO Loading daq...
ERROR Failed to load daq after 0.00 s
INFO Loading archapp...
SUCCESS Successfully loaded archapp in 0.00 s
INFO Loading default groups...
SUCCESS Successfully loaded default groups in 0.30 s
Nice!
Feature Request
hutch-python --profile startup
Existing Alternatives
Context