From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen 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 13:48:35 +0200 Message-ID: <871qrjx3ak.fsf@gnus.org> References: <929023db7615cc93faad294e3860ba5f@webmail.orcon.net.nz> <87edvlxgeg.fsf@gnus.org> <7d2c3f76331b84c6580a27fd261c01a2@webmail.orcon.net.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36060"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 58302@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 07 15:25:52 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 1ognMO-00095u-8G for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 15:25:52 +0200 Original-Received: from localhost ([::1]:52824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ognMG-0004rz-Os for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 09:25:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oglqh-000778-3u for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 07:49:11 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35483) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oglqg-0004d3-Rh for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 07:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oglqg-0003b1-HH for bug-gnu-emacs@gnu.org; Fri, 07 Oct 2022 07:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Oct 2022 11:49: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.166514332713802 (code B ref 58302); Fri, 07 Oct 2022 11:49:02 +0000 Original-Received: (at 58302) by debbugs.gnu.org; 7 Oct 2022 11:48:47 +0000 Original-Received: from localhost ([127.0.0.1]:34561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oglqR-0003aY-BQ for submit@debbugs.gnu.org; Fri, 07 Oct 2022 07:48:47 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:51622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oglqP-0003aL-MH for 58302@debbugs.gnu.org; Fri, 07 Oct 2022 07:48:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=b9fKRY0rb1N2uXRXH2SByc0DBhn8qmJB0A9Z2ibR5PU=; b=V6kkhV7hM9HdZSTAL2PlcHKXmR l1yUcQ9Rh2JwyNAzcyJYCieMqH2/KCZ2j00K4g+e+dcTNCNoIBu9FrDjZQzhAC0ymPztEmEA7wcAy 44ovBbQk6IM1ouxO5v+I9abFPriw8b4fkhwL0S1M/RUhKVokgu94+JnFcvb/MQx3Aan4=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oglqG-0004zU-C7; Fri, 07 Oct 2022 13:48:39 +0200 In-Reply-To: <7d2c3f76331b84c6580a27fd261c01a2@webmail.orcon.net.nz> (Phil Sainty's message of "Fri, 07 Oct 2022 12:25:27 +1300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEXp59n9/vOopZ7M yMcmJCdlYl/Ev7uEgXv///9v3jXmAAAAAWJLR0QIht6VegAAAAd0SU1FB+YKBwssAO7K9mgAAAGf SURBVDjLldNNT+wgFAZgOsRZdzTmbkcYmG0t2ru/gm6VcsatguLeq/Hvy9c0Y1tNPMkk9Dy8MPQD VatcJNd5uVyh/UDmupuC+g6+S5ifAKT5RQIAVPidxXFXHUA4wysh9jEMT0OuHuCgjLypxQychq3o HGykVG4G/oRAL2bAaKnEDBypkxiYAJZrFgNjwEJbuZtAjYXomCJuBHWcqY3mo0Tqd5Rb9xVwvBQX j1g0+BByX7Rhete4AdIy7S6jaIZEnWerAgIXyH1i05FLBA3LtwTMv7LRA45Qtv3L0nMIZU2PHKpL ugVztZHXsf8m+2aJvMtgpeTPShHCCAsrLpDPfc4glSas3JKY6MSiJ2Qb+lv4gF36Wwk22v0n5D4F 0q0NUxOAbLT9AGDA3f6MES4VVIYA4fumL9CCry5ADpPDQhnCe+mO34GKw4qgV6vFEqCfQHjDLTPg RuC7dYOJgZ2fAPA2fABV68bwtjV9y9eIjvY40ffxuLQZLXWL7ZYjMS5kb6vFCxVTeL5b0ss5sOqJ ejEDfHPTiTnwnu6f7pf6BFI0yyot5I1sAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTEwLTA3VDEx OjQ0OjAwKzAwOjAwQ/mHSgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0xMC0wN1QxMTo0NDowMCsw MDowMDKkP/YAAAAASUVORK5CYII= X-Now-Playing: Yukihiro Takahashi's _Murdered by the Music_: "The Core of Eden" 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:244763 Archived-At: Phil Sainty writes: >> coming >> from the error message (which is a misleading error message). There's >> probably a "sleep-for 2" after displaying the error message? >> There's a bug report in debbugs somewhere about fixing the error >> message, but I can't find it now. > > Perhaps https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42431 ? Yes, that's the one I was thinking about, and it was apparently fixed at the time? But this looks like pretty much the same problem, but with a different code path... Phil Sainty writes: > 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-=E2=81=A0file-=E2=81= =A0noselect-=E2=81=A01 > (1.7317769889999999 1 0.03951770099999996) ;; the overall > benchmark-run > > Instead of the former: > > Elapsed time: 1.876737s (0.057295s in 1 GCs) ;; find-=E2=81=A0file-=E2=81= =A0noselect-=E2=81=A01 > (2.680159853 1 0.057295379000000146) ;; the overall > benchmark-run Perhaps there's something else that also wants to sleep a bit after a file error... In any case, I think the real fix is to not signal an error here, because that's wrong. I haven't looked at this code in a while, though.