Red Gate forums :: View topic - Question reagrding the ability to compare profile sessions
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 5
ANTS Performance Profiler 5 forum

Question reagrding the ability to compare profile sessions

Search in ANTS Performance Profiler 5 forum
Post new topic   Reply to topic
Jump to:  
Author Message
bob53050



Joined: 18 Jan 2010
Posts: 4

PostPosted: Sun Jan 24, 2010 9:34 pm    Post subject: Question reagrding the ability to compare profile sessions Reply with quote

Hello All,

Is there a way in the ANTs performance profiler to compare 2 profiler sessions to determine performance differences?

Thanks in advance,

Bob Hanson
Back to top
View user's profile Send private message
StephenC



Joined: 15 Oct 2007
Posts: 315
Location: Cambridge

PostPosted: Sun Jan 24, 2010 10:48 pm    Post subject: Reply with quote

Hi Bob,

I know this is unusual but can you do me a favour and first answer me two questions:

- tell me how you would expect it to work if ANTS Profiler did come with comparison functionality? What would be your expectation within an interface for doing this? Just a brief idea.

- what level of comparison are you looking for? General, large granularity of analysis? What sort of data are you looking for? Graphs, just numbers etc..?

I'm just interested in hearing what you would need from the feature for it to be valuable.

If you don't have the time then just say so and I'll give you some tips that you can use to do a comparison even though its currently a bit of a hack. We are considering fully featured comparison functionality but can't seem to get definite answers when we ask.

Thank you!

Stephen
Back to top
View user's profile Send private message
bob53050



Joined: 18 Jan 2010
Posts: 4

PostPosted: Sun Jan 24, 2010 11:43 pm    Post subject: Reply with quote

No problem Stephen,

If we can see a macro view of performance changes (assys) and then be able to drill down to the method level quickly to see the differences of performance, that would be very useful for developers to stay on par with perfperformance versus an after thought.
Back to top
View user's profile Send private message
StephenC



Joined: 15 Oct 2007
Posts: 315
Location: Cambridge

PostPosted: Sun Jan 24, 2010 11:58 pm    Post subject: Reply with quote

Hi,

there are a few problems with doing a comparison in any profiler -

Take the tree view for example:
Stack traces change in the number of methods executed due to reorganization and also when when methods might be renamed.

Other changes include that if a profiler is being run when the computer is under different loads then this can affect timings due to the large CPU which other applications may be responsible for.

If we take the ANTS interface for example the method executions can happen at completely different times in the timeline.

The simplest solution might be to just provide 2 grids (similar to the All Methods grid), that allow some Diff comparison to show faster/slower times. This would mean that it will be total time spent in that method over the course of the entire application rather than just in a particular stack trace due to the issues listed above.

Back to your original question about comparison - Switch to the All Methods grid, you can select a region of time you are interested in to filter the methods if you want or just show all of them. Then select a row in the grid and do a select all (Ctrl + A), then copy (Ctrl + C) and paste into Excel. Do the same for the second results file and do all the diff's and comparisons you want from there. Not ideal I know but the best I can offer at the moment.

If you have any comments about the points I raised above then please let me know.

Thanks,

Stephen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group