| Author |
Message |
rgelb
Joined: 25 Sep 2008 Posts: 26
|
Posted: Sat Jul 17, 2010 1:31 am Post subject: Confused as to how to interpret the readout |
|
|
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 |
|
 |
AndrewH
Joined: 17 Aug 2006 Posts: 137
|
Posted: Mon Jul 19, 2010 10:35 am Post subject: |
|
|
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 |
|
 |
slaphead99
Joined: 10 Mar 2010 Posts: 93
|
Posted: Mon Jul 19, 2010 2:40 pm Post subject: |
|
|
| Just another thought as well: Selecting "wall clock" time vs "CPU time" will generally give you much higher readings. |
|
| Back to top |
|
 |
|
|
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