[Top][All Lists]

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

Re: point-at-final-line

From: Marcin Borkowski
Subject: Re: point-at-final-line
Date: Sat, 27 Jan 2018 07:11:16 +0100
User-agent: mu4e 0.9.19; emacs 27.0.50

On 2018-01-27, at 04:02, Emanuel Berg <address@hidden> wrote:

> (defmacro measure-time (&rest body)
>   "Measure and return the running time of the code block.
> Not mine:";
>   (declare (indent defun))
>   (let ((start (make-symbol "start")))
>     `(let ((,start (float-time)))
>        ,@body
>        (- (float-time) ,start))))

Why not use benchmark.el?


Marcin Borkowski

reply via email to

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