none
Performance counters in .Net framework RRS feed

  • Question

  • Hi Team,

    I am looking of good material on .Net performance counters(process, Gen collections, CPU e.t.c)

    I found one link https://msdn.microsoft.com/en-us/library/ff647791.aspx, but it just has a description.

    Is there any nice articles, which talks about

    1. What is the functionality of perf counter and based on what threshold we say there is a performance issue.?

    2. Any code example that I can run on my desktop and monitor performance issue using perfmon in my desktop.

    Appreciate your help

    Wednesday, October 14, 2015 11:43 AM

Answers

  • Hi  kumaranil36,

    >>1. What is the functionality of perf counter and based on what threshold we say there is a performance issue.?

    I would suggest you a tool that named PerfView. It is a performance-analysis tool that helps isolate CPU- and memory-related performance issues. You can download from Here.

    Here is a series of video tutorials by Visual Studio performance architect Vance Morrison on how to use the PerfView profiling tool to gather data for CPU performance of a simple .NET program. 

    >>2. Any code example that I can run on my desktop and monitor performance issue using perfmon in my desktop.

    As far as I know, there is a PerformanceCounter Class. Please check the code sample from https://msdn.microsoft.com/en-us/library/vstudio/system.diagnostics.performancecounter(v=vs.90)

    Performance Counters in the .NET Framework

    Hope this helps.

    Have a nice day!

    Kristin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, October 15, 2015 2:52 AM