emacs-devel
[Top][All Lists]
Advanced

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

Measuring execution time of a function


From: Stefan Monnier
Subject: Measuring execution time of a function
Date: Sun, 23 May 2021 11:42:37 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I used
> [the macro posted here](
> https://stackoverflow.com/questions/23622296/emacs-timing-execution-of-function-calls-in-emacs-lisp
> )
> to time it. I would vote for adding that macro to Emacs b.t.w., if there is
> not
> some hidden alternative command already.

`benchmark-call` or `benchmark-elapse` should do the trick.


        Stefan




reply via email to

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