[gnu.emacs.lisp.manual] timing in emacs

fortin@cis.ohio-state.edu (Michael Fortin) (07/28/89)

This may be the wrong newsgroup for this.

I'd like to be able to time how long it takes for groups of emacs commands,
such as moving around, cutting and pasting, saving files, finding files,
etc ..., to complete. I've been thru the emacs-lisp manual and haven't 
found anything better than issueing a shell-command and performing a date
call before and after I've executed the group of emacs commands. That
works but isn't very accuate at all.

Has anyone got a better solution?

Thanks in advance
Mike

liberte@CS.UIUC.EDU (Daniel LaLiberte) (07/31/89)

You are correct that there is nothing in the elisp manual about
doing timings of emacs commands or function calls.  RMS says that
there is no universal way to get machine time for less than a
second.  Otherwise I would have written a profiling package based
on my edebugger.

dan