Comments
2 comments
-
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. -
Just another thought as well: Selecting "wall clock" time vs "CPU time" will generally give you much higher readings.
Add comment
Please sign in to leave a comment.
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?