background preloader

Performance

Facebook Twitter

Scalability

Caching. Iis7. How to detect and avoid memory and resources leaks in .NET appli. By Fabrice Marguerie Despite what a lot of people believe, it's easy to introduce memory and resources leaks in .NET applications. The Garbage Collector, or GC for close friends, is not a magician who would completely relieve you from taking care of your memory and resources consumption. I'll explain in this article why memory leaks exist in .NET and how to avoid them. Don't worry, I won't focus here on the inner workings of the garbage collector and other advanced characteristics of memory and resources management in .NET.

It's important to understand leaks and how to avoid them, especially since they are not the kind of things that is easy to detect automatically. Unit tests won't help here. Table of Content Introduction Recently, I've been working on a big .NET project (let's name it project X) for which one of my duties was to track memory and resources leaks. I wasn't an expert in leak hunting before I had to delve into the depths of the application to do some cleaning. Leaks? 15 Free Functionality And Load Testing Tools For Web Application. Automated web application testing is done very rarely & it is generally thought as an unnecessary + hard to setup system. Truth is, automated testing is a must, because it saves so much time during development & when the project is live.

Also, with the right tools, it is generally very easy to setup. Using testing tools, once the scenarios are created, you can: test every feature of the whole application with a clickget written reports instantly with the error logsmeasure the capacity of your web application on every stepget a continiously-watched, less-problematic web application as the result There are 2 important web application tests to measure if everything is working (and will work) on your website: So, here is a collection of 15 Free Functionality And Load Testing Solutions For Web Applications to create better online experiences: Functionality Testing SeleniumHQ Selenium has various projects that can be combined with each other to create a robust testing environment. Watir ActiWATE Sahi. Patterns & practices: Performance Testing Guidance - Home.

NET Performance Cribsheet. For things you need to know rather than the things you want to know Robyn and Phil tackle the topic of how to make .NET applications perform well. As usual, they try to take a terse, practical approach to the mysteries of JIT, CLR and GC. After giving many performance tips, they come to the conclusion that rules and tips are less useful than rolling up your sleeves and measuring or profiling everything possible, to see what's really happening with your application.

Contents Overview If performance is important to an application you are developing, then a 'performance culture' should permeate the whole development process, right through from initial design to acceptance testing. This may seem obvious, but a recent high-profile public IT project failed when, just prior to release, it was discovered that each business transaction was taking 27 seconds. There are several "rules" to developing .NET applications that perform well.

Design first, then code. Measuring and identifying CLR Profiler. Analyzing Application Performance. The Visual Studio Profiling Tools let developers measure, evaluate, and target performance-related issues in their code. These tools are fully integrated into the IDE to provide a seamless and approachable user experience. Profiling an application is straightforward. You begin by creating a new performance session. In Visual Studio Team System Development Edition, you can use the Performance Session Wizard to create a new performance session.

After a performance session ends, data gathered during profiling is saved in a .vsp file. You can view the .vsp file inside the IDE. There are several report views available to help visualize and detect performance issues from the data gathered. Profiling Tools can also be used from the command-line. For more information about current and advanced topics related to performance and profiling, search the Microsoft Developer Network for topics and Microsoft blogs. ASP.NET: 10 Tips for Writing High-Performance Web Applications -