pcdshub / Bug-Reports-and-Requests

Issue Tracking for PCDS Software
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Beamline startup timing diagnosis tools #34

Open ZLLentz opened 4 years ago

ZLLentz commented 4 years ago

Feature Request

Existing Alternatives

Context

ZLLentz commented 4 years ago

I want to re-use some of the tools we employed in typhos and distribute them to other libraries.

klauer commented 3 years ago

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.

ZLLentz commented 3 years ago

I like the idea of timing safe_load blocks, that will help us zero in on which parts of the load are particularly slow

ZLLentz commented 3 years ago

I like it so much and it's so easy to do I'm going to implement it really quickly

ZLLentz commented 3 years ago
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
klauer commented 3 years ago

Nice!