Options

Confused as to how to interpret the readout

rgelbrgelb Posts: 45 Bronze 4
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?

Comments

  • Options
    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.
  • Options
    Just another thought as well: Selecting "wall clock" time vs "CPU time" will generally give you much higher readings.
Sign In or Register to comment.