From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#58302: 29.0.50; browse-url-emacs is extremely slow (and I think always has been?) Date: Fri, 07 Oct 2022 15:47:06 +1300 Message-ID: <18018e9dddf6e6d5d07a567a36b59a65@webmail.orcon.net.nz> References: <929023db7615cc93faad294e3860ba5f@webmail.orcon.net.nz> <87edvlxgeg.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30552"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail Cc: 58302@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 07 04:48:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ogdPI-0007kb-FS for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 04:48:12 +0200 Original-Received: from localhost ([::1]:46656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogdPG-0002om-V4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Oct 2022 22:48:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogdP8-0002oc-Pk for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 22:48:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34867) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogdP8-000686-GH for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 22:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogdP8-0005yr-45 for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2022 22:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Oct 2022 02:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58302 X-GNU-PR-Package: emacs Original-Received: via spool by 58302-submit@debbugs.gnu.org id=B58302.166511083122825 (code B ref 58302); Fri, 07 Oct 2022 02:48:02 +0000 Original-Received: (at 58302) by debbugs.gnu.org; 7 Oct 2022 02:47:11 +0000 Original-Received: from localhost ([127.0.0.1]:33945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogdOJ-0005w5-Gq for submit@debbugs.gnu.org; Thu, 06 Oct 2022 22:47:11 -0400 Original-Received: from smtp-2.orcon.net.nz ([60.234.4.43]:40271) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogdOG-0005vw-UP for 58302@debbugs.gnu.org; Thu, 06 Oct 2022 22:47:10 -0400 Original-Received: from [10.253.37.70] (port=33848 helo=webmail.orcon.net.nz) by smtp-2.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1ogdOE-00053z-Ub; Fri, 07 Oct 2022 15:47:07 +1300 Original-Received: from ip-116-251-140-135.kinect.net.nz ([116.251.140.135]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Fri, 07 Oct 2022 15:47:06 +1300 In-Reply-To: <87edvlxgeg.fsf@gnus.org> X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:244726 Archived-At: On 2022-10-07 01:53, Lars Ingebrigtsen wrote: > I can reproduce this, too. I think it's likely that the delay is > coming > from the error message (which is a misleading error message). There's > probably a "sleep-for 2" after displaying the error message? True, `after-find-file' does this: (or not-serious (sit-for 1 t)) And indeed that accounts for 1s of the ~2.5s delay; so this is a significant factor, yet seemingly not the only issue. With that commented out I now get: Elapsed time: 0.835925s (0.039518s in 1 GCs) ;; find-⁠file-⁠noselect-⁠1 (1.7317769889999999 1 0.03951770099999996) ;; the overall benchmark-run Instead of the former: Elapsed time: 1.876737s (0.057295s in 1 GCs) ;; find-⁠file-⁠noselect-⁠1 (2.680159853 1 0.057295379000000146) ;; the overall benchmark-run