How to track the page loading time?

Hello everyone, I need to track the loading time of a page using GA, and I’m not sure how to do it because there is very little documentation on this. For example, I want to track the time from login until the next screen is successfully loaded. How should I go about doing this?