Pedro Luz
Pedro Luz

Reputation: 2782

Software for testing applications to increase performance

I'm searching for software to do benchmarking, analysis, performance of code and apps. Something like Intel VTune.

Can anyone give me some names, free or payed, targeting c# apps.

thanks

Upvotes: 3

Views: 420

Answers (5)

Henk Holterman
Henk Holterman

Reputation: 273784

Such a tool is usually called a Profiler.
The (free) MS CLR Profiler (up to Fx 3.5) isn't bad, and a good place to start.

Update: a 2022 Blog about this.

Upvotes: 1

Robert Gowland
Robert Gowland

Reputation: 7957

I've used the EQATEC profiler which is free for personal use. It benchmarks run time and helped point out the inefficiencies that were causing bottlenecks in my code.

Upvotes: 0

Mike Dunlavey
Mike Dunlavey

Reputation: 40699

It sounds like you have multiple purposes.

If you want to monitor the performance health of programs, benchmarks and profilers that measure are probably what you want.

If you need to make a program faster, and you have the source code for it, I think your best bet is to get something that samples the call stack and gives you line-level percent of wall-clock time. For this, don't look for high precision of timing. Look instead for high precision of pinpointing code that is responsible for high percentages of time. Especially in larger programs, these lines are function or method calls that you can find a way to avoid. Don't fall into the myth of thinking that the only problems are hotspots where the program counter lives, and don't fall into the myth that all I/O is necessary I/O.

There's a totally manual method that a few people use and works very well.

Upvotes: 3

Reed Copsey
Reed Copsey

Reputation: 564851

Visual Studio, in it's higher SKUs, includes multiple profilers which can be used for this purpose. If your application is using multiple threads, VS 2010's new Concurrency Profiler is incredible for profiling C# concurrent code.

There are many other performance profilers on the market which are useful for performance profiling as well. I personally like dotTrace and think it's a very clean interface.

Upvotes: 1

Justin Niessner
Justin Niessner

Reputation: 245489

Redgate Performance Profiler

...their Memory Profiler will undoubtedly help as well.

Upvotes: 5

Related Questions