locked
How to create performance bench mark with chart for a routine from VS2013 IDE RRS feed

  • Question

  • User264732274 posted

    suppose i have two routine which does same thing but code is bit different in two routine. how tell me how could i generate performance bench mark with chart for 2 routines from VS2013 IDE ? is it possible from IDE ?

    bench mark visualization has to be very clear and simple as  a result any one can understand it. help me to know this which i can use real life project. thanks

    Thursday, September 8, 2016 2:03 PM

Answers

  • User-2057865890 posted

    Hi sudip_inn,

    You can use Visual Studio profiling tools to analyze performance issues in your application. These tools are available in Visual Studio 2013 Professional, Premium, and Ultimate editions.

    To create and run a performance session

    1.Open the solution in Visual Studio. Set the configuration to Release. (Find the Solution Configurations box on the toolbar, which is set to Debug by default. Change it to Release.)

    2.On the Analyze menu, click Performance and Diagnostics.

    3.In the Performance and Diagnostics window, you should see that the Analysis Target is set to the startup project of the solution you have open.

    4.Check Performance Wizard and click Start at the bottom of the page.

    5.In the Performance Wizard, accept the default setting of CPU Sampling (recommended) and click Next.

    6.Accept the default project, and then click Next.

    7.Make sure that the Launch profiling after the wizard finishes check box is selected and then click Finish.

    Your application starts, and the profiler starts collecting data.

    8.Wait a minute or so to allow for some data to be collected. You can stop profiling at any time by clicking Pause profiling or Stop profiling in the center window.

    9.Close the application as you usually would.

    reference:

    https://msdn.microsoft.com/en-us/library/ms182372(v=vs.120).aspx

    Best Regards,

    Chris

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 13, 2016 7:41 AM
  • User-2057865890 posted

    Hi sudip_inn,

    1.

    2.

    3.

    4.

    Best Regards,

    Chris

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 13, 2016 9:39 AM

All replies

  • User-2057865890 posted

    Hi sudip_inn,

    You can use Visual Studio profiling tools to analyze performance issues in your application. These tools are available in Visual Studio 2013 Professional, Premium, and Ultimate editions.

    To create and run a performance session

    1.Open the solution in Visual Studio. Set the configuration to Release. (Find the Solution Configurations box on the toolbar, which is set to Debug by default. Change it to Release.)

    2.On the Analyze menu, click Performance and Diagnostics.

    3.In the Performance and Diagnostics window, you should see that the Analysis Target is set to the startup project of the solution you have open.

    4.Check Performance Wizard and click Start at the bottom of the page.

    5.In the Performance Wizard, accept the default setting of CPU Sampling (recommended) and click Next.

    6.Accept the default project, and then click Next.

    7.Make sure that the Launch profiling after the wizard finishes check box is selected and then click Finish.

    Your application starts, and the profiler starts collecting data.

    8.Wait a minute or so to allow for some data to be collected. You can stop profiling at any time by clicking Pause profiling or Stop profiling in the center window.

    9.Close the application as you usually would.

    reference:

    https://msdn.microsoft.com/en-us/library/ms182372(v=vs.120).aspx

    Best Regards,

    Chris

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 13, 2016 7:41 AM
  • User264732274 posted

    @Chris u said so many steps but provide only one image.

    can u please add one image for your each points?

    thanks

    Tuesday, September 13, 2016 8:57 AM
  • User-2057865890 posted

    Hi sudip_inn,

    1.

    2.

    3.

    4.

    Best Regards,

    Chris

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 13, 2016 9:39 AM