Measure ASP.NET page load time

后端 未结 3 1786
故里飘歌
故里飘歌 2020-12-14 02:56

I\'m currently developing an ASP.NET application which uses a MasterPage and I want to measure my application webform\'s loading time and display that informati

3条回答
  •  抹茶落季
    2020-12-14 03:49

    This really depends on what metric you are looking to actually show.

    1. Is this an overall "page loaded in __ seconds" type thing that will be there all the time?
    2. Is this to determine if your coded solution meets requirements for a client, and not needed for production?

    The answer to these two will dictate what makes the most sense when it comes to recording. If your goal is #1, then I would say your method works. If you are going for number 2, I could be looking at what Erwin has.

提交回复
热议问题