Ævar Arnfjörð Bjarmason <[email protected]>
writes:
> Right, but is there an easier way of doing that than inserting my own
> (message) statements everywhere? I didn't spot an existing debug
> facility that would log executed commands.
>From the Elisp manual:
D.4 Tips for Making Compiled Code Fast
======================================
Here are ways of improving the execution speed of byte-compiled Lisp
programs.
* Profile your program with the `elp' library. See the file
`elp.el' for instructions.
* Check the speed of individual Emacs Lisp forms using the
`benchmark' library. See the functions `benchmark-run' and
`benchmark-run-compiled' in `benchmark.el'.