From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: scratch/accurate-warning-pos: Solid progress: the branch now bootstraps. Date: Mon, 26 Nov 2018 17:24:29 +0000 Message-ID: <20181126172429.GA29596@ACM> References: <20181117124534.GA8831@ACM> <83muq7u9rk.fsf@gnu.org> <20181123130904.GA2916@ACM> <87ftvphu2h.fsf@runbox.com> <20181126123913.GD4030@ACM> <877egzizob.fsf@runbox.com> <20181126170652.GF4030@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1543253159 28470 195.159.176.226 (26 Nov 2018 17:25:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2018 17:25:59 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) Cc: michael_heerdegen@web.de, Eli Zaretskii , emacs-devel@gnu.org, cpitclaudel@gmail.com, monnier@IRO.UMontreal.CA To: Gemini Lasswell Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 26 18:25:55 2018 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 1gRKdu-0007Ck-Rr for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2018 18:25:54 +0100 Original-Received: from localhost ([::1]:37955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRKg0-0006RH-VC for ged-emacs-devel@m.gmane.org; Mon, 26 Nov 2018 12:28:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRKfu-0006R1-21 for emacs-devel@gnu.org; Mon, 26 Nov 2018 12:27:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRKfq-0002Ee-18 for emacs-devel@gnu.org; Mon, 26 Nov 2018 12:27:58 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:20226 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1gRKfp-0002CT-MQ for emacs-devel@gnu.org; Mon, 26 Nov 2018 12:27:53 -0500 Original-Received: (qmail 22536 invoked by uid 3782); 26 Nov 2018 17:27:53 -0000 Original-Received: from acm.muc.de (p2E5D5CCE.dip0.t-ipconnect.de [46.93.92.206]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 26 Nov 2018 18:27:50 +0100 Original-Received: (qmail 29621 invoked by uid 1000); 26 Nov 2018 17:24:29 -0000 Content-Disposition: inline In-Reply-To: <20181126170652.GF4030@ACM> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 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:231400 Archived-At: Hello, Gemini. On Mon, Nov 26, 2018 at 17:06:52 +0000, Alan Mackenzie wrote: > When I compile doctor.el with (time-it (byte-compile-file > ".../play/doctor.el")), I see a slow down of 9.9%, which is surprisingly > little, given how much extra processing is involved when > symbols-with-positions-enabled is bound to non-nil. > Compiling a single function from that file, you see a 24% slowdown (if I > remember the figures correctly). There's some explaining to do there to > account for the difference between what we see. > My machine is a desktop with an AMD Ryzen processor, and I run Gentoo > GNU/Linux. Maybe the processor architecture accounts for some of the > difference. I'll take that back. On the first run of byte-compile-file (on master), the file had to fetched from a drive. On the second run (on the branch) it would already have been in cache. When I repeated the exercise, I saw a 21% slowdown, the same as what you saw, to within measurement error. It shows just how careful one must be. Sorry about this mistake. -- Alan Mackenzie (Nuremberg, Germany).