Forum Discussion

rajinkiwi's avatar
rajinkiwi
New Contributor
11 years ago

Measure performance of an application

Hi,



I am new to AQtime.



1. I am adding a new function to my existing application.

After adding this new function, I want to measure the performance impact caused by adding this function. How can I do that?



2. After running an EXE, I got the results.

It has hit count and time. Now, if I want to see the execution of a function ( probably how much it takes for the CPU to execute that function once), do I need to divide the time with the hit count?





Thanks,

Raj 

5 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    Hi Raj,



    The general approach to measure performance changes in the application is to measure a performance of the original version (get ResultsA), implement a change in the application and measure performance of the modified application (get ResultsB). Then compare (http://support.smartbear.com/viewarticle/43305/) ResultsA with ResultsB and make conclusions.



    Performance (as well as other AQtime's profilers) profiler collects a massive statistics and by default displays only part of it. You may go through the list of available fields (http://support.smartbear.com/viewarticle/43265/, http://support.smartbear.com/viewarticle/42946/, http://support.smartbear.com/viewarticle/42971/) and show those of them that display the information that you need.
  • rajinkiwi's avatar
    rajinkiwi
    New Contributor
    Hi Alexei,



    Thanks for your time.



    I have results as per the given link. But the question is,



    1. I have a hit count for a routine as 15.

    2. I have a time against that routine as 2.25 seconds.



    Now, to get execution time of the routine, do I need to divide time / hit count? or Time is single time execution?



    Thanks and Regards,

    Raj
  • AlexKaras's avatar
    AlexKaras
    Champion Level 3
    Hi Raj,



    What profiler did you use and what is the name of the column that displays 2.25 sec value?
  • rajinkiwi's avatar
    rajinkiwi
    New Contributor
    Hi Alexei,



    Thanks for your quick reply.



    I am using performance profiler.

    I have used hit count and the column that is showing 2.25sec is time column.



    Regards,

    Raj