ASP.NET Performance Engineering - Stress Test Your Architecture, Design, And Code
Field experience proves - the earlier performance is tackled in development lifecycle the better results achieved. Below are most frequent practices that were most helpful in my engagement with the customers.
Architecture/Design phase
- Set performance scope using Performance Frame
- Set performance objectives - Performance Testing Objectives Document Template
- Generate and distribute performance engineering principles document to the dev team (this sample was generated using Guidance Explorer)
- Conduct performance design inspection (this sample document was generated using Guidance Explorer)
Coding phase
- Conduct static code analysis for performance issues - Performance Code Review Tool – Practices Checker
- Conduct manual performance code inspection using checklist document (this sample was generated using Guidance Explorer)
- Analyze program's flow early in development - Use Sysinternals DebugView To Diagnose The Application
Unit testing phase
- Conduct performance smoke test for your application - Stress Test ASP.NET Web Application With Free WCAT Tool
- Analyze IIS behavior - Identify ASP.NET, Web Services, And WCF Performance Issues By Examining IIS Logs
- Analyze Database behavior using SQL Server profiler - How To: Use SQL Profiler and Using SQL Server Profiler
- Analyze Client Side JavaScript behavior - Profiling JavaScript With Ajax View Tool: Spot Poor Performance Client Script In No Time
- Analyze ASP.NET behavior - Use Performance Counters Templates To Streamline Performance Analysis
- Analyze HTTP traffic from end user's angle - Improve Web Application Performance By Reducing Number Of Http Requests - Fiddler To The Rescue
Performance Sins (performance anti-patterns)
- Performance Sin - Chatty Database Access And Loops (Plus Another Free Performance Tool)
- Performance Sin - Using Exceptions To Control Flow
- ASP.NET Performance Sin - Serving Images Dynamically (Or Another Reason To Love Fiddler)
My related posts
- Do You Really Need A Distributed Architecture?
- Improve .Net Applications Performance Effectively And Efficiently
- Generate Your Own Security Code Review Checklist Document Using Outlook 2007
- Consume patterns&practices Guidance Explorer online store via RSS
- How To Keep ASP.NET ViewState On The Server – Revised
Comments
- Anonymous
May 04, 2008
You've been kicked (a good thing) - Trackback from DotNetKicks.com - Anonymous
May 05, 2008
Alik :) You're A Best Practicer , Thanks - Anonymous
May 05, 2008
In one hand - it is good to care about the performance all the time. But writing fast code is expensive. Fast code is more complicated and hard to maintain. Stored procedures are harder to write then code on C#. I would consider approach of writing maintainable code and optimize only when needed? - Anonymous
May 05, 2008
@YossiThanks, partner!@DavidGood point! Knowing what you are optimizing is key! You must decide upfront - whether to write code fast or write code that is fast ;)Sometimes you cannot (impossible) to optimize code that is written without performance in mind. Sometimes you need to redesign or even to rearchitect it... want to optimize on resources (time and money)? Build your app with perf in mind upfront - Anonymous
May 05, 2008
.NET A-Star Pathfinding in C# JIT Optimizations Creating portable ASP.NET applications that work on IIS - Anonymous
July 31, 2008
     To achieve best performance you need to make decisions based on trade-off between - Anonymous
July 31, 2008
    In my previous post -  Best ASP.NET Performance Winner For Data Binding - Hands - Anonymous
July 31, 2008
In my previous post - Best ASP.NET Performance Winner For Data Binding - Hands Up To Response.Write() - Anonymous
September 04, 2008
原文:http://jayce.clearviewtickets.info/wcftestingtool.html bestvideo: - Anonymous
September 08, 2008
Es lo que me ha estado diciendo el servidor de pruebas. Esa semana la hemos dedicado a probar toda la - Anonymous
June 03, 2009
http://www.javaeye.com/news/3022-recommendation-25-to-help-you-net-application-performance-tuning-re...