[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is there a emacs lisp timing command?

From: Xah Lee
Subject: Re: is there a emacs lisp timing command?
Date: Tue, 24 Mar 2009 15:07:20 -0700 (PDT)
User-agent: G2/1.0

On Mar 24, 1:25 pm, Nikolaj Schumacher <address@hidden> wrote:
> Xah Lee <address@hidden> wrote:
> > is there a elisp command like timing, that returns the time a function
> > took?
> Seems like everybody here has written their own, but Emacs does come with:
> benchmark-run and benchmark-run-compiled.
> It takes garbage collection into account, which can explain fluctuating
> results.

Thank you all for the help.

After reading the replies, it turns out my error was that i mistook
microsecond to be 10^-3 but it should be 10^-6.

Thanks Nik for the benchmark-run. That'll be helpful too, and the elp
profiler down the road.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]