From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Correct byte compiler error/warning positions. The solution! Date: Sun, 28 Nov 2021 09:25:03 +0200 Message-ID: <83ilwcyc6o.fsf@gnu.org> References: <83pmqm16vz.fsf@gnu.org> <8335nh29pt.fsf@gnu.org> <83wnktzxb2.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6423"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 28 08:26:01 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mrEZT-0001Va-CC for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Nov 2021 08:25:59 +0100 Original-Received: from localhost ([::1]:45098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrEZS-00031C-ED for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Nov 2021 02:25:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrEYQ-00028Q-Qk for emacs-devel@gnu.org; Sun, 28 Nov 2021 02:24:54 -0500 Original-Received: from [2001:470:142:3::e] (port=54534 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrEYQ-0002hk-IK; Sun, 28 Nov 2021 02:24:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=l4k+xdRCYStQ77IAQplFK5efZJClmmgGg+5zqv/p8RY=; b=lL3OcVZozttR Yp4N1qKsQ6f2en5d1XiSdC5HDqbSwLloYNaQtMFHHI+VHzNTyD+AC+t37ASVU2FtcBi5h6ccdptTs D4INa3VLBXMhPAEIfRRBcVnUPlDEuz8GoaO301Z3+/7sD9CojvBTQh1HCBwFxLjRfaPCR3JYd2feZ zSfFUN50jj/efTRGv2tubI3bTA9a3748MjDsQSaXV0j2ajlI7TGdh5/oKcgkU+BqqGHB/ClFN17w8 4nvFIblsaGu65HPjSGVfwWSlURKIV79a1aHQrZV/VVTvmJ4awM09XhzqTzCYN9DYFmkyp+Z2/3/qv 3PJoVI4o6Q2BFcaT4+0sOQ==; Original-Received: from [87.69.77.57] (port=3907 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrEYQ-0005Ce-41; Sun, 28 Nov 2021 02:24:54 -0500 In-Reply-To: (message from Alan Mackenzie on Sat, 27 Nov 2021 23:05:12 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:280375 Archived-At: > Date: Sat, 27 Nov 2021 23:05:12 +0000 > Cc: emacs-devel@gnu.org > From: Alan Mackenzie > > The timings I have for scrolling in the forward direction (each time > preceded by M-x garbage-collect, and typing/erasing a character to clear > the font-lock settings) are: > > (master branch, no native compilation): > 20.847s, 21.609s, 19.459s, 21.570s, 21.651 > > (New code with correct warning messages, no native compilation): > 21.284s, 42.152s ????, 19.927s, 19.960s, 22.259s, 22.198, 22.209s. > > The input to configure was the same in both cases, namely > > ./configure --with-gif=no --with-tiff=no --with-gpm. > > , and the timings were done on the Linux console. > > No, I don't understand that 42s run. A lot of garbage collection, > perhaps? You should always record the time take by GC and subtract it from the elapsed time. I believe benchmark-run shows that time, so please use it in the comparison.