From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Execution speed Date: Sun, 19 Mar 2017 17:32:23 +0200 Message-ID: <83shm9wad4.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1489937612 9889 195.159.176.226 (19 Mar 2017 15:33:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 19 Mar 2017 15:33:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 19 16:33:25 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpcpa-0001Hn-Oq for ged-emacs-devel@m.gmane.org; Sun, 19 Mar 2017 16:33:18 +0100 Original-Received: from localhost ([::1]:57193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpcpg-0001C8-Je for ged-emacs-devel@m.gmane.org; Sun, 19 Mar 2017 11:33:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpcp3-0001C0-31 for emacs-devel@gnu.org; Sun, 19 Mar 2017 11:32:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpcp0-0002eM-0r for emacs-devel@gnu.org; Sun, 19 Mar 2017 11:32:45 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpcoz-0002eF-UW; Sun, 19 Mar 2017 11:32:41 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3939 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cpcoz-0007L4-6l; Sun, 19 Mar 2017 11:32:41 -0400 In-reply-to: (message from Stefan Monnier on Sun, 19 Mar 2017 11:12:59 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213156 Archived-At: > From: Stefan Monnier > Date: Sun, 19 Mar 2017 11:12:59 -0400 > > Just do `emacs -Q --batch -l .../ir-test.el`. Here's what I got: > > % emacs24 -Q --batch -l ~/tmp/ir-test.el > Interpreted: Iterative=1.770s; Recursive=1.937s > Bytecompiled: Iterative=1.187s; Recursive=1.496s > % .../src/emacs -Q --batch -l ~/tmp/ir-test.el > Interpreted: Iterative=4.496s; Recursive=4.595s > Bytecompiled: Iterative=2.471s; Recursive=2.983s > > where `emacs24` is Debian's whereas the other one is my locally > built&hacked version with debugging assertions and stuff. My results: . Emacs 24.5 (optimized, 32-bit): Interpreted: Iterative=1.047s; Recursive=1.140s Bytecompiled: Iterative=0.704s; Recursive=0.875s . Emacs 25.2-rc2 (optimized, 32-bit --with-wide-int): Interpreted: Iterative=2.500s; Recursive=2.281s Bytecompiled: Iterative=1.328s; Recursive=1.281s . Current emacs-25 branch (unoptimized, 32-bit --with-wide-int): Interpreted: Iterative=29.328s; Recursive=23.953s Bytecompiled: Iterative=12.719s; Recursive=13.422s . Current master (unoptimized, 32-bit --with-wide-int): Interpreted: Iterative=26.937s; Recursive=25.500s Bytecompiled: Iterative=7.468s; Recursive=12.953s