From unknown Tue Aug 19 02:57:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6964: 23.2; revert-buffer takes 60 times longer than initial read Resent-From: "Daniel B." Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Sep 2010 15:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6964 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 6964@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128335584610760 (code B ref -1); Wed, 01 Sep 2010 15:45:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Sep 2010 15:44:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqpTp-0002nU-7R for submit@debbugs.gnu.org; Wed, 01 Sep 2010 11:44:05 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqpRo-0002lf-Go for submit@debbugs.gnu.org; Wed, 01 Sep 2010 11:42:01 -0400 Received: from lists.gnu.org ([199.232.76.165]:44476) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OqpTR-00053i-3E for submit@debbugs.gnu.org; Wed, 01 Sep 2010 11:43:41 -0400 Received: from [140.186.70.92] (port=51393 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqpTP-0001WE-1s for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 11:43:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO, RECEIVED_FROM_WINDOWS_HOST autolearn=no version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqpTN-0000kz-Mj for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 11:43:38 -0400 Received: from sovenix.net ([216.127.152.227]:4032) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqpTN-0000ke-HZ for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2010 11:43:37 -0400 Received: from 216.1.16.126 [216.1.16.126] by sovenix.net with ESMTP (SMTPD-11.0) id b8a0001539ec4356; Wed, 1 Sep 2010 11:01:41 -0400 Message-ID: <4C7E6AD5.4010102@smart.net> Date: Wed, 01 Sep 2010 11:01:41 -0400 From: "Daniel B." User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP2+, XP SP1+ (seldom 98) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.5 (----) X-Mailman-Approved-At: Wed, 01 Sep 2010 11:44:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.5 (----) Reverting a file (executing revert-buffer) takes much (e.g., 60 times) longer than reading the file initially. For a 30MB file that originally took about 3 seconds to load, executing revert-buffer took 179 seconds. In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: s C-y y e s x b l o C-g C-x b l L o x t a g s v i s i t y e s y C-n x r e p e - m a s e a y x s h e l l C-r > A G S C-e x r e p e m a - a m a s e a y y e s C-x 2 C-x C-g C-x b * c > < C-s < < C-n C-s 3 d C-s C-s C-s C-s C-n C-x o , , , , M-b M-b M-b M-b C-SPC C-e w x t a g s q u e C-y C-y C-a M-f C-f " I C-d C-d M-f M-f M-f M-f M-f M-b y e C-d C-d C-e M-b f l C-d C-d C-p , < , y C-g x r e v e r t y e s < , C-n C-p C-x C-f . C-x o C-x b C-x o C-s x m l - s c h C-a C-e f y e s C-x b C-x o C-x k f y C-x o C-g C-x o C-x k f y f y x r e v e t r t y e s x r e p o r Recent messages: Quit [2 times] Mark set [2 times] Mark saved where search started Quit File L-w3c-xml-schema-comments is large (29MB), really open? (y or n) Quit File L-w3c-xml-schema-comments is large (29MB), really open? (y or n) Quit File L-w3c-xml-schema-comments is large (29MB), really open? (y or n) Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr message ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug dired-aux apropos help-mode view sh-script executable chistory ansi-color shell mule-util cc-mode cc-fonts cc-menus cc-cmds etags multi-isearch parse-time vc-cvs nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns easymenu nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok compile comint ring dired cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) Daniel From unknown Tue Aug 19 02:57:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6964: 23.2; revert-buffer takes 60 times longer than initial read Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Aug 2019 22:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6964 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Daniel B." Cc: 6964@debbugs.gnu.org Received: via spool by 6964-submit@debbugs.gnu.org id=B6964.15664266705158 (code B ref 6964); Wed, 21 Aug 2019 22:32:02 +0000 Received: (at 6964) by debbugs.gnu.org; 21 Aug 2019 22:31:10 +0000 Received: from localhost ([127.0.0.1]:36724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Z8H-0001L7-TP for submit@debbugs.gnu.org; Wed, 21 Aug 2019 18:31:10 -0400 Received: from quimby.gnus.org ([80.91.231.51]:44372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Z8F-0001Kx-3x for 6964@debbugs.gnu.org; Wed, 21 Aug 2019 18:31:08 -0400 Received: from [76.14.1.154] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i0Z89-0007Ct-5r; Thu, 22 Aug 2019 00:31:03 +0200 From: Lars Ingebrigtsen References: <4C7E6AD5.4010102@smart.net> Date: Wed, 21 Aug 2019 15:30:58 -0700 In-Reply-To: <4C7E6AD5.4010102@smart.net> (Daniel B.'s message of "Wed, 01 Sep 2010 11:01:41 -0400") Message-ID: <8736huw3q5.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "Daniel B." writes: > Reverting a file (executing revert-buffer) takes much (e.g., 60 times) > longer than reading the file initially. > > For a 30MB file that originally took about 3 seconds to load, executing > revert- [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) "Daniel B." writes: > Reverting a file (executing revert-buffer) takes much (e.g., 60 times) > longer than reading the file initially. > > For a 30MB file that originally took about 3 seconds to load, executing > revert-buffer took 179 seconds. (I'm going through old bug reports that have unfortunately gotten no attention yet.) I tried reproducing this with a 200MB binary file. Reading it initially took less than a second, and saying `M-x revert-buffer' seemed to take about the same time. Are you still seeing this problem, and if so, what kind of data do you have in the buffer when it takes this long? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 21 18:31:16 2019 Received: (at control) by debbugs.gnu.org; 21 Aug 2019 22:31:16 +0000 Received: from localhost ([127.0.0.1]:36727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Z8O-0001LR-5D for submit@debbugs.gnu.org; Wed, 21 Aug 2019 18:31:16 -0400 Received: from quimby.gnus.org ([80.91.231.51]:44394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i0Z8M-0001LJ-18 for control@debbugs.gnu.org; Wed, 21 Aug 2019 18:31:15 -0400 Received: from [76.14.1.154] (helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i0Z8J-0007DA-3P for control@debbugs.gnu.org; Thu, 22 Aug 2019 00:31:13 +0200 Date: Wed, 21 Aug 2019 15:31:08 -0700 Message-Id: <871rxew3pv.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #6964 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 6964 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 6964 + moreinfo quit From unknown Tue Aug 19 02:57:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#6964: 23.2; revert-buffer takes 60 times longer than initial read Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2019 06:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6964 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: "Daniel B." Cc: 6964@debbugs.gnu.org Received: via spool by 6964-submit@debbugs.gnu.org id=B6964.157103278617705 (code B ref 6964); Mon, 14 Oct 2019 06:00:02 +0000 Received: (at 6964) by debbugs.gnu.org; 14 Oct 2019 05:59:46 +0000 Received: from localhost ([127.0.0.1]:37624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJtOU-0004bV-Cr for submit@debbugs.gnu.org; Mon, 14 Oct 2019 01:59:46 -0400 Received: from [80.91.231.51] (port=49786 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJtOS-0004bL-F5 for 6964@debbugs.gnu.org; Mon, 14 Oct 2019 01:59:44 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJtON-0002IU-58; Mon, 14 Oct 2019 07:59:43 +0200 From: Lars Ingebrigtsen References: <4C7E6AD5.4010102@smart.net> <8736huw3q5.fsf@mouse.gnus.org> Date: Mon, 14 Oct 2019 07:59:38 +0200 In-Reply-To: <8736huw3q5.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Wed, 21 Aug 2019 15:30:58 -0700") Message-ID: <87h84bq33p.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > I tried reproducing this with a 200MB binary file. Reading it initially > took less than a second, and saying `M-x revert-buffer' seemed to take > about the same time. > > Are you still seeing this [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Lars Ingebrigtsen writes: > I tried reproducing this with a 200MB binary file. Reading it initially > took less than a second, and saying `M-x revert-buffer' seemed to take > about the same time. > > Are you still seeing this [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnus.org] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Lars Ingebrigtsen writes: > I tried reproducing this with a 200MB binary file. Reading it initially > took less than a second, and saying `M-x revert-buffer' seemed to take > about the same time. > > Are you still seeing this problem, and if so, what kind of data do you > have in the buffer when it takes this long? More information was requested some weeks back, but no response was given, so I'm closing this bug report. If you're still seeing this problem, please reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 14 01:59:51 2019 Received: (at control) by debbugs.gnu.org; 14 Oct 2019 05:59:51 +0000 Received: from localhost ([127.0.0.1]:37627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJtOY-0004bo-LT for submit@debbugs.gnu.org; Mon, 14 Oct 2019 01:59:50 -0400 Received: from [80.91.231.51] (port=49800 helo=quimby.gnus.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJtOW-0004be-TO for control@debbugs.gnu.org; Mon, 14 Oct 2019 01:59:49 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iJtOU-0002Ia-1d for control@debbugs.gnu.org; Mon, 14 Oct 2019 07:59:48 +0200 Date: Mon, 14 Oct 2019 07:59:45 +0200 Message-Id: <87ftjvq33i.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #6964 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 6964 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 6964 quit Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) close 6964 quit