The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Profiling C++ on Windows

I've got my code pretty stable at the moment, so naturally I have the urge to break it all by trying to speed it up. :)

What are the cool kids using in their profiling arsenals nowadays? I'm using MFC in VC6 but could be convinced to make it >VC6 if there's some compelling optimization reasons to do so.
Saturday, December 08, 2007
Intel VTune?
Saturday, December 08, 2007
Visual Studio should have a profiler.  Why don't you use it?

Maybe it's not the best, but why pay for something when performance is already on an ignorable level...
Nate Send private email
Saturday, December 08, 2007
I've been using GlowCode for quite some time and it has proved very helpfull.
Neville Franks Send private email
Sunday, December 09, 2007

I asked what the "cool kids" are using. :)

Thanks for the other responses, guys - anyone have any experience of vTune on AMD systems? I heard it's supposed to help, but you gotta wonder...
Sunday, December 09, 2007
If you are using AMD then search for dev tools in their website. I remember they had quite a lot of free software (unlike Intel) but I am not sure if they had a profiler.

VS6 has a good profiler (search codeproject for an article on how to use it).
JSD Send private email
Sunday, December 09, 2007
I've had great success using AQTime (
Krzysztof Kowalczyk Send private email
Sunday, December 09, 2007
Thanks Krzysztof, I hadn't heard of that one. Will try it out.

To answer the other points...

Only found one useful article on CodeProject, are there more?

My target market is Intel and AMD, I develop on Intel, however.
Sunday, December 09, 2007
Intel VTune - haven't used, but heard it's really good.
AMD CodeAnalyst (free) - I haven't gotten this to work on an AMD machine. Crashed an Intel machine.
DevPartner for Visual C++ (also includes boundschecker + code coverage) - good, but you have to recompile the solution.
Rational PurifyPlus (Includes Quantify) - Buggy, overpriced.
AQTime - pretty good, also integrates with VS. Had some trouble with large VS solutions that terminated without profiling when run under the profiler.
VS2005 integrated profiler - slow report generation, basic functionality.

I'd go for DevPartner, it has three useful tools and it always worked, even for large apps.
Monday, December 10, 2007
EvilTeach Send private email
Monday, December 10, 2007
Cool kids don't use C++. They don't profile either. They get faster computers and demand others do the same!  :)
Monday, December 10, 2007
Thanks, adding devpartner to the list...
Monday, December 10, 2007
vTune is awesome. I have used it for profiling a number of applications and device drivers.

Intel used to have a 30 day trial, so it might be worth checking out.

Andrew Send private email
Monday, December 10, 2007

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
Powered by FogBugz