Hi,
I'm not sure what to make of this: I used ACT to perform pre-and
post optimization tests.
The following optimizations only yielded about 26% increase in
performance (a 7 minute test simulating 21 simultaneous browser
connections). I feel like that's low and am dissapointed/confused.
What do you think?
Configuration optimizations:
Removed the FormsAuthentication and PassPortAuthentication modules
Enabled page buffering; set enableViewStateMac to false, set
sessionState mode = "Off" and set the app's authenticationMode
to "None"
DataAccess Optimations:
Rather than hitting the database per page load, I cache all the info
in a multi-table dataset (4 tables in its collection); the database
is only getting hit once every couple of hours.
Page Based Optimizations:
Used "micro caching"/ "per request cahing"- each page has this:
<%@ outputcache duration="10" varybyparam="none" %>
Each page's viewstate is disabled (the site is simple- no user
interaction its just dump records from the database)
DataBinding:
Using a repeater that contains mostly static html;
Not using DataBinder.Eval, most of the inline bindings use
Container.DataItem. On those occasions when i couldn't get away w/
that i cast the binding expression to a dataRowView ie:
<%# System.Convert.ToDateTime(CType(Container.DataItem,
System.Data.DataRowView)("DateAdded")).ToShortDateString() %>
ACT DATA:
Number of test iterations performed during a 7 minute test
increased by 28%
Total Requests processed over a 7 minute test increased by 24%
Average requests per second increased by increased by 24%
The average response time (average time to last byte) decreased
by
30%; aka Responsiveness of the site increased by 30%
Shouldn't all that get me more of a perf boost than 22-30%??!!
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/