Next: , Previous: , Up: Debugging   [Index]


K.7 Elisp Benchmarking

Emacs comes with GIT:emacs-lisp/benchmark.el by DaveLove that can display the elapsed time of running an EmacsLisp expression. It observes the timing from running a form once or repeatedly. Any time spent by Emacs on ‘GarbageCollection’ is also determined. These features are available interactively with M-x benchmark or programmatically with benchmark-run.