(Author: Green Apple studio compilation, 2000 at 17:20 on November 10) at the first part of the important conclusions of this paper is the accumulation of many small things. In order to emphasize this problem, I set up the last test, in which we have used all the operations that have previously tested but actually have a bad impact. I contain many response.write declarations, turn off the buffer, set the default language, remove the Option Explicit reference and initialize the error handle. <% @ Language = vbscript%> <% on error resume next first firstname = "john" ... birthdate = "1/1/1950" Response.write ("") response.write ("") response .Write ("") response.write (" head>") response.write ("") response.write ("
"& birthdate &" td> tr> ") response .Write (" table>") response.write (" body>") response.write (" html>")%> /App2/final_1.asp fragment reference value = 5.57 msec / Page reaction time = 8.85 msec / page difference = 3.28 msec (58.9% increase) It can be obvious, but it is more important, that is, the code we placed on the page will affect performance. Small changes on the page sometimes greatly increase the reaction time. Rule summary * Avoid excessive use of inline ASP. * Always connect a continuous response.write statement to a separate statement. * Never use the package function to add CRLF around Response.Write. * If you must format the HTML output, CRLF is added directly within the Response.write statement. * Always set the buffer through the server. * As long as mode of use, the ASP annotation has little effect on performance or no effect. * Set the server's default language configuration to match the language used on the site. * Do not set language statements unless you use non-default languages. * Always use Option Explicit in VBScript.