emacs-devel
[Top][All Lists]
Advanced

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

Re: Help debugging elisp and emacs display engine


From: Noam Postavsky
Subject: Re: Help debugging elisp and emacs display engine
Date: Thu, 26 Nov 2015 23:32:35 -0500

On Thu, Nov 26, 2015 at 6:35 PM, Cody Goodman
<address@hidden> wrote:
> ;; TODO: lookup how benchmark works
> (benchmark 10 (test-long-line-scrolling 100))

You need to quote the form you want to measure:

(benchmark 10 '(test-long-line-scrolling 100))

This seems to have come up several times in the last couple of weeks.
Maybe `benchmark' should issue a warning if the FORM argument
satisfies `atom'?



reply via email to

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