Skip to content
Prev 1273 / 15274 Next

SVG device with tooltips

Romain,

Have you used Matlab's code profiler? It has some neat features which
would be great to see in R, in case you are looking for inspiration in
your profiling project.  For example: line by line timing, line
colouring according to the time spent on that line, parent/child
function call aggregation, barplots of time spent, hyperlinks from the
hit list of lines to their function's context. The line colouring is
useful as it allows you to run coverage testing as well as profiling
i.e. see the lines which did *not* execute. The profiler can also help
with debugging as the execution path is graphically observed. So it is
much more than just profiling, but achieved simply by timing line by
line. 

Matthew