Locked Line-by-line .NET Profiler wanted

  • Thursday, July 07, 2011 3:34 PM
     
     
    Does anyone know of a good .NET profiler that can analyse speed line-by-line? I already have a free profiler but it only has function granularity. The cheaper the better, and I would need a license for commercial use. I don't need memory profiling, but if it is included, so much the better.

All Replies

  • Thursday, July 07, 2011 10:40 PM
     
     Answered

    The only one I know of is the redgate one http://www.red-gate.com/products/dotnet-development/ants-performance-profiler/

    The even have the tag line "Drill down to slow lines of code with line-level timings"

    I don't know of any OpenSource one that would help as-is

    Line by Line would require a fair amount of instrumentation and post run analysis - possible with a code coverage tool perhaps if you could record the time of each visit and then mine the data later. 

    Shaun

     

    • Marked As Answer by kendfrey Friday, July 08, 2011 12:48 PM
    •  
  • Friday, July 08, 2011 12:48 PM
     
     
    Thanks, that seems to be a good option. It is the cheapest I could find to offer Line-by-Line profiling. I think I will try a trial version (as much as I hate those).