Tutorials to .com

Tutorials to .com » Asp » Optimization » Asp Optimization

Asp Optimization Articles


81: To improve the performance of what is the best choice for ASP (continued III)
Focus on the domain record to quote the most effective way to value what is? So far, I have quoted are recorded with the name of the domain focus on value. This is probably a very low efficiency, because each call needs to find the domain. To prove...

82: To improve the performance of what is the best choice for ASP (continued d)
Rules summary Now we come to sum up these rules: * Avoid ADOVBS.inc contains documents, using other methods to use constants. * When using a single recordset, it will be delivered to the connection string properties ActiveConnection. * In a page...

83: asp performance test report (to) (d)
IV, ASP code in the Notes on the impact of the implementation of efficiency? Many developers know HTML, by adding HTML comments is a bad habit. This is because: First of all, notes an increase of the volume of data transmission; Secondly, HTML Note...

84: asp performance test report (to) (v)
IIS by default to deal with VBScript, however, we can see that many through the <% @ LANGUAGE = VBSCRIPT%> statement explicitly setting the example of the type of scripting language. The following test to analyze the impact of the performance ...

85: asp performance test report (to) (vi)
There are many reasons to avoid the use of IIS's session state, but it notes the need for another article. We are here to answer the question is: When the page when the conversation really does not need to close it would improve performance? The...

86: asp performance test report (to) (vii)
ASP page in the front set Option Explicit requires that all variables in the use of statement before. For two reasons, this statement is usually recommended: first, the application can be dealt with more quickly variable; Second, to prevent accident...

87: asp performance test report (to) (h)
The use of processes and functions for the organization and maintenance of the code has a big advantage, especially in parts of the code page used when the need for many. But at this time in order to complete the same tasks per cent more a function ...

88: ASP 28 to improve the skills of performance and appearance (1-7)
ASP 28 to improve the skills of performance and appearance Len Cardinal, Senior Consultant, Microsoft Consulting Services George V. Reilly Microsoft IIS Performance Lead Adapted from the article Nancy Cluts technology developer engineer Microsof...

89: ASP 28 to improve the skills of performance and appearance (8-14)
Skills 8: later the availability of resources, early release of resources Skills 9: process for the implementation of performance reliability Skills 10: the use of explicit options Skills 11: subroutine and function in the use of local variables ...

90: ASP 28 to improve the skills of performance and appearance (15-21)
Skills 15: batch script, and Response.Write statements embedded Skills 16: if the page takes a long time to complete, then the former use of Response.IsClientConnected Skills 17: illustrates the use of object tags <OBJECT> Skills 18: ADO an...

91: ASP 28 to improve the skills of performance and appearance (22-28)
Skills 22: to use Server.Transfer instead of Response.Redirect Skills 23: the use of URL in the directory after the slash Skills 24: avoid the use of server variables Skills 25: upgrade to the latest and most outstanding Skills 26: Optimizing We...

92: asp test the second part (to) (i)
First, the purpose of testing Compiled as follows: The first part of this article visited the ASP development of some of the basic problems, given the results of a number of performance tests to help readers understand the code in the end Add page...

93: asp test the second part of (turn) (b)
Second, testing environment This test has been used a total of 21 ASP files, these files can be downloaded from the back of this article. Each page can be set to run three different types of inquiries, namely the return of 0,25,250 records. This pa...

94: asp test the second part of (turn) (c)
Third, the first test In the first test, we simulated Microsoft ASP ADO example can be found in a typical case of extracting a record set. In this example (ADO__01.asp), we first open a connection, and then create a recordset object. Of course, the...

95: asp test the second part of (turn) (d)
Fourth, it should be cited by including ADOVBS.inc? Microsoft provided ADOVBS.inc contains 270 lines of code, the code defines the attribute most of the ADO constants. Our sample only ADOVBS.inc quoted from the two constants. Therefore this test (A...

96: asp test the second part (to) (v)
Fifth, the use of recordset, should create a separate connection object? To answer this question correctly, we need to analyze two different testing conditions: First, there is only one database transaction page; the second page there are multiple ...

97: asp test the second part of (turn) (vi)
6, which records the cursor type and lock the most efficient way? All tests so far, we only use the "forward only" to access the recordset cursor. ADO recordset provided for, there are three types of cursor: Static scrollable cursor, dyna...

98: asp test the second part of (turn) (vii)
Seven, the best record with which to extract the set? So far we have been extracted by creating a recordset Recordset object, but also provided ADO recordset indirect extraction methods. The following test ADO__03.asp directly from the Connection o...

99: asp test the second part of (turn) (8)
8, should use the local record set? ADO allows the use of local (client) record set, recorded at this time queries will extract all the data set, query immediately after the completion of connection can be shut down, the cursor after the use of loc...

100: asp test the second part of (turn) (ix)
Nine, set recordset property of the method with the best? In front of all the tests were set up using the direct method of Recordset attributes. However, Recordset.open function must be set to allow for all the attributes of the parameters specifie...


Page 5 of 6
[1]   [2]   [3]   [4]   [5]   [6]