From: Nordlöw <per.nordlow@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Timing execution of function calls in Emacs lisp
Date: Thu, 5 Jun 2008 06:24:45 -0700 (PDT) [thread overview]
Message-ID: <50d4f479-3c3e-4049-ba88-c989174118dc@j22g2000hsf.googlegroups.com> (raw)
Is there a way to measure the execution time of function calls?
Compare with following Matlab-snippet:
tic; do_something(with_some_arg); toc
In emacs lisp perhaps something like:
(time FUNCTION ARGS...)
Thanks in advance,
Nordlöw
next reply other threads:[~2008-06-05 13:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-05 13:24 Nordlöw [this message]
2008-06-05 15:27 ` Timing execution of function calls in Emacs lisp Lennart Borgman (gmail)
2008-06-05 16:25 ` Evans Winner
2008-06-05 18:09 ` Nordlöw
2008-06-05 18:27 ` Nikolaj Schumacher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50d4f479-3c3e-4049-ba88-c989174118dc@j22g2000hsf.googlegroups.com \
--to=per.nordlow@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).