How to diagnose a slowdown?

I was able to do a apt upgrade and also rebuild. This problem: Pups error on rebuild 🐶 was preventing me from rebuilding for a while

Since the rebuild, it feels improved. I don’t like operating by feeling though in this case, I’d rather have analytics and measurable data. I appreciate the tips @Ed_S they will be useful for further monitoring.

I’m wondering if it’s possible to capture some of this profiling data to show the “health” of the instance via the admin page. Perhaps a potential plugin idea or future core feature?