none
How to profiler the desktop app's shutdown performance ?

全部回复

  • I suggest try ANTS Performance Profiler (created by RedGate) to profile dotnet application,simple and easy,it will help you to find out the cause of specific line in your code.

    check out this link for more detail

    http://www.red-gate.com/products/dotnet-development/ants-performance-profiler/


    专注于.NET ERP/CRM开发框架,C/S架构,SQL Server + ORM(LLBL Gen Pro) + Infragistics WinForms

    2016年11月1日 15:02
  • Could you provide some experience of WPA ? Thanks!
    2016年11月2日 6:30
  • check this out

    http://www.cnblogs.com/stbchina/archive/2010/07/01/windows-performance-analyzer-overview-1.html

    https://blogs.technet.microsoft.com/askpfeplat/2013/08/11/becoming-an-xperf-xpert-part-6-rip-xperf-time-to-learn-windows-performance-analyzer/


    专注于.NET ERP/CRM开发框架,C/S架构,SQL Server + ORM(LLBL Gen Pro) + Infragistics WinForms

    2016年11月2日 8:38
  • Hi Wang Zhengzhang,

    Thank you for posting here.

    Below are a few simple steps about how to use windows performance Analyzer.

    1. Opening an ETL File
    2. Selecting Graphs
    3. Selecting a Time Interval
    4. Zooming in on a Time Interval
    5. Highlighting a Selected Time Interval
    6. Customizing a Data Table

    for more information, please see MSND document. 

    I also find some relevant articles. I hope it can help you.

    1. Analyzing a trace
    2. Windows Performance Analyzer

    Best Regards,

    Hart


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2016年11月3日 1:39
    版主
  • Hi Hart Cheng,

    Thanks for your reply, But when I get the shutdown time of application by WPA, how do I get the call stack, and locate each function costs how much time ? 

    2016年11月7日 6:28
  • Hi Wang Zhengzhang ,

    Thank you for feedback.

       Please see Analyzing a trace. At the steps 5. I am not sure whether this is what you want.

    Start by looking at CPU Usage (Sampled) Breakdown by Process, Thread, Activity, Stack. Click on any cell in Stack column. Press Ctrl+F and search for ExternalFunctionThunk

    I think your issue is not related to original issue. For new issue. I suggest you re-post your issue on here .

    Best Regards,

    Hart


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2016年11月9日 9:52
    版主