Red Gate forums :: View topic - Confused as to how to interpret the readout
Return to www.red-gate.com RSS Feed Available

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

Confused as to how to interpret the readout

Search in ANTS Performance Profiler 6 forum
Post new topic   Reply to topic
Jump to:  
Author Message
rgelb



Joined: 25 Sep 2008
Posts: 26

PostPosted: Sat Jul 17, 2010 1:31 am    Post subject: Confused as to how to interpret the readout Reply with quote

I am profiling an app with ANTS 5.2.0.26 and I am getting a pretty unbelievable number from the WinForms app.

It seems that setting System.ComponentModel.IContainer to null (code generated by the designer) takes 5.x seconds.

http://imgur.com/vf4iZ

Any ideas? Can this be legit?
Back to top
View user's profile Send private message
AndrewH



Joined: 17 Aug 2006
Posts: 137

PostPosted: Mon Jul 19, 2010 10:35 am    Post subject: Reply with quote

This assignment will appear to the profiler as the first line of the method corresponding to the class constructor. If you have line-level timings turned off, or the profiler was unable to instrument the constructor, then this will indicate all of the time used in the constructor overall (same as any other method in the line-level display).

If line-level timings are enabled, this time may include some compiler-generated code that normally goes before the first line of the constructor is executed such as the call to the base class's constructor.
_________________
Andrew Hunter
Software Developer
Red Gate Software Ltd.
Back to top
View user's profile Send private message
slaphead99



Joined: 10 Mar 2010
Posts: 93

PostPosted: Mon Jul 19, 2010 2:40 pm    Post subject: Reply with quote

Just another thought as well: Selecting "wall clock" time vs "CPU time" will generally give you much higher readings.
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