[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is there a emacs lisp timing command?
From: |
Nikolaj Schumacher |
Subject: |
Re: is there a emacs lisp timing command? |
Date: |
Tue, 24 Mar 2009 21:25:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin) |
Xah Lee <xahlee@gmail.com> 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.
regards,
Nikolaj Schumacher