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: scratch/accurate-warning-pos: Solid progress: the branch now bootstraps. Date: Tue, 27 Nov 2018 08:06:42 +0200 Message-ID: <83k1kzgikt.fsf@gnu.org> References: <20181125193050.GH27152@ACM> <2c2ae483-3309-f79d-07a5-30af1f49058b@cs.ucla.edu> <20181125212920.GK27152@ACM> <60ac9dfc-b540-89f9-68ea-ec7cceaa8511@cs.ucla.edu> <83in0kijz0.fsf@gnu.org> <9e216e61-7d95-94f0-cbee-593b4f32ced2@cs.ucla.edu> <20181126184359.GG4030@ACM> <20181126194249.GH4030@ACM> <8736rnib0k.fsf@runbox.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1543298727 31651 195.159.176.226 (27 Nov 2018 06:05:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2018 06:05:27 +0000 (UTC) Cc: cpitclaudel@gmail.com, eggert@cs.ucla.edu, michael_heerdegen@web.de, emacs-devel@gnu.org, monnier@IRO.UMontreal.CA, acm@muc.de To: Gemini Lasswell Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 27 07:05:22 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 1gRWUr-00086q-RJ for ged-emacs-devel@m.gmane.org; Tue, 27 Nov 2018 07:05:21 +0100 Original-Received: from localhost ([::1]:40176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRWWy-0001NR-85 for ged-emacs-devel@m.gmane.org; Tue, 27 Nov 2018 01:07:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRWW8-0001NK-By for emacs-devel@gnu.org; Tue, 27 Nov 2018 01:06:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRWW4-0006ml-DC for emacs-devel@gnu.org; Tue, 27 Nov 2018 01:06:40 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRWW4-0006mf-AS; Tue, 27 Nov 2018 01:06:36 -0500 Original-Received: from [176.228.60.248] (port=1279 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gRWW3-0005jY-UZ; Tue, 27 Nov 2018 01:06:36 -0500 In-reply-to: <8736rnib0k.fsf@runbox.com> (message from Gemini Lasswell on Mon, 26 Nov 2018 17:07:07 -0800) 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:231434 Archived-At: > From: Gemini Lasswell > Cc: Clément Pit-Claudel , > michael_heerdegen@web.de, Eli Zaretskii , Paul Eggert > , monnier@IRO.UMontreal.CA, emacs-devel@gnu.org > Date: Mon, 26 Nov 2018 17:07:07 -0800 > > When I hear a story about a C program, where adding an always failing > check of a boolean variable to it causes it to run slower by 15% or 20%, > then when I read the code I expect to find that variable check inside a > really tight loop with only a few other instructions besides the > variable check. > > But Fforward_word is significantly slower in your branch and I can't > find any tight loops with an EQ in it. That could be rarely_quit, which is called inside the inner loops of scan_words. But this must be verified, e.g., by running Emacs under 'perf' and examining the profile.