I have an application in C#, i want to implement perfcounters in this application so that i can track down the performance parameters and use them to make my application have better performance as of now the application has performance issues.
Thanks
views:
54answers:
4
A:
this is great tutorial: http://www.codeproject.com/KB/dotnet/perfcounter.aspx
Andrey
2010-09-13 15:24:01
+1
A:
Performance counters only tell you that your program is slow. They don't tell you why your program is slow. Use a profiler.
Hans Passant
2010-09-13 15:35:21
++ You're right, although the words "slow" and "profiler" give me an itch. I've never seen code that was slow. I have seen code that was extremely unnecessary. And lots of things call themselves profilers, but only some are actually very effective.
Mike Dunlavey
2010-09-13 19:23:01
A:
To paraphrase @Hans, there's a world of difference between measuring performance problems and finding them, in spite of what is popularly said. Here's discussion of all that, and directions telling how to do it.
Mike Dunlavey
2010-09-13 19:14:16