ASP.NET display speed comparison of record sets

zhaozj2021-02-16  64

Small chick shooting in the practice of DataGrid to mention DataGrid performance issues, and now I have quantified data in Microsoft DEV411 ASP.NET :BEST PRACTICES for Performance, extracted.

Average: - DataReader is 16% faster than DataSet - SqlDataReader is 115% faster than OLDATAREADER - the subscript quote is 10% from the field name of the field name - the upper and lower words match the field name of the field name is 1% - Direct Write Script 53% faster than DataGrid - no viewState is 56% fast than VIEWSTATE - No need to use the template color 39% - Explicit type conversion is fast 11% with Database DataBinding - 667% of the standard DataGrid Output cache is infinitely fast than standard DataGrid

The conclusion is already very clear, just don't translate, :-)

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

New Post(0)