[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 <moasen@zoho.com> wrote:
> (defmacro measure-time (&rest body)
> "Measure and return the running time of the code block.
> Not mine: http://nullprogram.com/blog/2009/05/28/"
> (declare (indent defun))
> (let ((start (make-symbol "start")))
> `(let ((,start (float-time)))
> ,@body
> (- (float-time) ,start))))
Why not use benchmark.el?
Best,
--
Marcin Borkowski
- point-at-final-line, Emanuel Berg, 2018/01/26
- Re: point-at-final-line, Ben Bacarisse, 2018/01/26
- Message not available
- Re: point-at-final-line, Stefan Monnier, 2018/01/28
- Message not available
- Re: point-at-final-line, Emanuel Berg, 2018/01/28
- Re: point-at-final-line, Eli Zaretskii, 2018/01/28
- Message not available
- Re: point-at-final-line, Emanuel Berg, 2018/01/29
- Re: point-at-final-line, Eli Zaretskii, 2018/01/29
- Message not available
- Re: point-at-final-line, Emanuel Berg, 2018/01/29
- Re: point-at-final-line, Eli Zaretskii, 2018/01/29
- Message not available
- Re: point-at-final-line, Emanuel Berg, 2018/01/29
- Re: point-at-final-line, Eli Zaretskii, 2018/01/29