From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: is there a emacs lisp timing command? Date: Tue, 24 Mar 2009 21:25:08 +0100 Message-ID: References: <3a58c551-a1da-4794-8eb3-7de3c504c556@n7g2000prc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1237926370 2947 80.91.229.12 (24 Mar 2009 20:26:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Mar 2009 20:26:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Xah Lee Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 24 21:27:27 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LmDDO-0001l1-V0 for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Mar 2009 21:27:15 +0100 Original-Received: from localhost ([127.0.0.1]:59659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmDC1-0007HK-HM for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Mar 2009 16:25:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmDBR-0007E1-Ju for help-gnu-emacs@gnu.org; Tue, 24 Mar 2009 16:25:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmDBR-0007Cr-1F for help-gnu-emacs@gnu.org; Tue, 24 Mar 2009 16:25:13 -0400 Original-Received: from [199.232.76.173] (port=53699 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmDBQ-0007CX-TS for help-gnu-emacs@gnu.org; Tue, 24 Mar 2009 16:25:12 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:54828) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmDBO-0007RP-KK for help-gnu-emacs@gnu.org; Tue, 24 Mar 2009 16:25:11 -0400 Original-Received: from thursday (e179203095.adsl.alicedsl.de [85.179.203.95]) by dd18200.kasserver.com (Postfix) with ESMTP id 8217618077ED6; Tue, 24 Mar 2009 21:25:13 +0100 (CET) In-Reply-To: <3a58c551-a1da-4794-8eb3-7de3c504c556@n7g2000prc.googlegroups.com> (Xah Lee's message of "Mon, 23 Mar 2009 18:57:44 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63240 Archived-At: Xah Lee wrote: > is there a elisp command like timing, that returns the time a function > took? Seems like everybody here has written their own, but Emacs does come with: benchmark-run and benchmark-run-compiled. It takes garbage collection into account, which can explain fluctuating results. regards, Nikolaj Schumacher