From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#17837: 24.4.50; Search very slow Date: Tue, 24 Jun 2014 05:46:52 +0300 Message-ID: <834mzbrplv.fsf@gnu.org> References: <837g47shrk.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1403578105 25231 80.91.229.3 (24 Jun 2014 02:48:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2014 02:48:25 +0000 (UTC) Cc: 17837@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 24 04:48:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WzGmO-0003V1-Cj for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Jun 2014 04:48:16 +0200 Original-Received: from localhost ([::1]:57193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzGmN-0001xm-UH for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jun 2014 22:48:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32846) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzGmF-0001wk-E0 for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 22:48:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WzGmA-000143-5s for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 22:48:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzGmA-00013z-2v for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 22:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WzGm9-0005Kx-IQ for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 22:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Jun 2014 02:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17837 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17837-submit@debbugs.gnu.org id=B17837.140357802720419 (code B ref 17837); Tue, 24 Jun 2014 02:48:01 +0000 Original-Received: (at 17837) by debbugs.gnu.org; 24 Jun 2014 02:47:07 +0000 Original-Received: from localhost ([127.0.0.1]:58753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzGlG-0005JF-0c for submit@debbugs.gnu.org; Mon, 23 Jun 2014 22:47:06 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:42241) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WzGlC-0005Ig-3w for 17837@debbugs.gnu.org; Mon, 23 Jun 2014 22:47:03 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N7N00200JDKUN00@a-mtaout20.012.net.il> for 17837@debbugs.gnu.org; Tue, 24 Jun 2014 05:46:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N7N002X6JQ7V600@a-mtaout20.012.net.il>; Tue, 24 Jun 2014 05:46:55 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90720 Archived-At: > Date: Mon, 23 Jun 2014 21:08:59 -0400 > From: Richard Stallman > CC: monnier@iro.umontreal.ca, 17837@debbugs.gnu.org > > C-s honor [to set the search default] > C-x b 2014-mar-jun.html RET > M-< > C-s C-s > [wait to find the first occurrence] > C-s [search for the second occurrence] > > I counted around 45 seconds before it found the second occurrence. For me, the first one is slower: about 5 to 6 sec. The second occurrence takes maybe 3. Stefan, what's your timing? > In Emacs 23.2, the second occurrence takes only 7 seconds. Yes, I see some slowdown wrt 23.2, although not as drastic. Are you sure both binaries were compiled similarly, e.g. as far as compiler optimization switches are concerned? Anyway, you may wish to experiment with setting jit-lock-defer-time to a non-nil value. E.g., try setting it to 0.25 or 0.5 sec, and see if that gives good results.