f = profile f -- replace a global function f by a profiled version.
The new function is the same as the old one, except that when
the new function is run, it will record the number of times it
is called and the total execution time. Use profileSummary
to display the data recorded so far.