Menu

#46 Line-by-line profiling

open
nobody
None
5
2003-10-06
2003-10-06
Anonymous
No

Profiling calls gives a good overview of where the time is
spend, but eventually we end up in a method that
doesn't call any other methods.

If it was possible to profile the individual lines in a
method, it would help locating and tuning expensive
sections e.g. inside loops.

The information could be displayed as one or more
collumns before each line, preferrably combined with a
shade of red on the background of the sourceline. The
intensity should depend on how much time has been
spend executing it, relative to total
method/thread/application time.

Thank you.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB