Calculate the execution time of the page

xiaoxiao2021-03-06  93

Calculate the execution time of the page

First define two variables on the page, a representative page start time, a representative page ends, put the following code to the beginning of the web page, and the beginning of all code.

<% DIM STARTIME, EndTimeStartime = TIMER ()%>

Finally, the following code is added at the end of the page code:

<% endTime = Timer () response.write page execution time: "& formatNumber ((endtime-startime) * 1000, 3) &" millisecond "response.end%>

转载请注明原文地址:https://www.9cbs.com/read-122755.html

New Post(0)