Mostly disposable python scripts, published here so maybe someone can get any use of them

Rabu, 21 April 2010

Increasing ASP.NET performance

This by far the easiest way to increase your ASP.NET page performance. Put this on top of .aspx file.

<%@ OutputCache Duration="60" VaryByParam= "None"  %>

More detail of this technique is taken from this site, as you need to know the caveats and situation where this technique can benefits.

Did a quick benchmark using jMeter on a simple site with themes, LDAP connecting, permission checking to database, and constructing menu, with 10 concurrent threads hitting the server 100 tries:

  • Average response time: 374 ms
  • Throughput: 1295 request/minute
  • Average response time: 132 ms
  • Throughput: 2708 request/minute

Response time reduced about 30% from original. Another page with more complex queries reduce response time 800 ms to 210 ms or about 25%.


Tidak ada komentar:

Posting Komentar