Manual Page Viewer
Section: Code Profiling
Write profiling information to FILENAME. Unlike C profilers, the output is quite self-explanatory.
To try it out, do the following in mdb:
<set-var mhtml::profile-functions = true> <set-var x=<make-alist foo=bar bar=<make-alist foo=bar>>> <profiler::dump /tmp/alist.calls sort=calls> <profiler::dump /tmp/alist.time sort=time> <profiler::dump /tmp/alist.expense sort=expense>
Known bugs: The total time doesn't really correctly reflect the amount of time spent processing the entire page -- the time displayed is additive, so it is always orders of magnitude larger than it should be. However, the time displayed for each function call is correct.
The META-HTML Reference Manual V2.0 Copyright © 1995, 1998, Brian J. Fox
Found a bug? Send mail to firstname.lastname@example.org