Currently, I am in the process of conducting a web performance test on a webpage, and my goal is to calculate the time elapsed from when I click on a button to when the desired next page is fully rendered.
The challenge lies in the fact that there is a significant amount of client-side logic triggered by the button click. As a result, time passes while JavaScript processes before eventually sending a request to the server.
Web performance testing tools typically only record the back-and-forth exchange between the client and server, neglecting the crucial JavaScript processing time.
Is it possible to accurately measure the total time from button click to page loading, accounting for JavaScript execution time within Visual Studio Web Performance? If not, are there any alternative solutions available?
Thank you for your assistance.