Profiling and inlining

Tech-Archive recommends: Fix windows errors by optimizing your registry



Does anyone know of a profiler which will allow me to analyze the
performance of jit'ed assemblies taking into account optimization like
inlining?

I've tried the profiler built in to Visual Studio 2005 and I've tried
IBM Rational's Quantify. Both of them seem to somehow cause the JIT not
to do inlining (it probably doesn't do any optimizations).

Consequently when I look over the results and try to identify
bottlenecks (in a rather complex and long-running algorithm), the
results from both tools are completely skewed by the fact that a few
small accessor functions, which are called very frequently are not
inlined.

Right now I'm left with temporarily manually inlining these functions
just for the sake of running the profiler, and there might be many more
missing optimizations that still skews the picture after that.

I'm interested in any advice that might help me: other (better)
profilers, workarounds, etc.

Thanks.

.



Relevant Pages

  • Re: Property accessors and Optimization
    ... Yes, definitely optimizations are on, and in release mode. ... I saw all of the getters on the classes taking a considerable amount of time. ... Mattias suggested that perhaps this is caused by the profiler itself an is ... | much more so than a simple member variable access. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Performance hit with Debug = True
    ... One example is Inlining. ... And what I know from MSDN documentation, in debug mode, objects will only be ... removed from memory, when they go entirely out of scope. ... >> there are many optimizations that are not done in debug mode. ...
    (microsoft.public.dotnet.framework.performance)
  • Re: MS dumbing down VC 2005?
    ... Edition did not include the new Profile Guided Optimizations, ... All I wanted was the old command line profiler ... I cannot confirm if the command line profiler is even ... projects files: my old VC 6.0 files and the new 2005 fiels. ...
    (microsoft.public.vc.language)
  • Re: MS dumbing down VC 2005?
    ... So far as I know the command line profiler hasn't been in since the first ... Edition did not include the new Profile Guided Optimizations, ... projects files: my old VC 6.0 files and the new 2005 fiels. ...
    (microsoft.public.vc.language)
  • Re: Next delphi release
    ... I don't know of any automatic code generation optomizations, but there have been enhancements that permit optimizations to be made by the compiler. ... inlining in particular is fanstasic. ...
    (borland.public.delphi.non-technical)