From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#15808: 24.3; thing-at-point slow for url and email Date: Tue, 05 Nov 2013 21:18:52 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383704539 18612 80.91.229.3 (6 Nov 2013 02:22:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Nov 2013 02:22:19 +0000 (UTC) Cc: 15808@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 06 03:22:23 2013 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 1VdslC-0006fp-E1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Nov 2013 03:22:22 +0100 Original-Received: from localhost ([::1]:59475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdslB-0006Bv-U2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Nov 2013 21:22:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdsl0-0006At-NF for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2013 21:22:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vdskt-0007Dw-DJ for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2013 21:22:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vdsix-0006jp-TJ for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2013 21:20:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vdsiw-00058I-W5 for bug-gnu-emacs@gnu.org; Tue, 05 Nov 2013 21:20:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Nov 2013 02:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15808 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15808-submit@debbugs.gnu.org id=B15808.138370434119626 (code B ref 15808); Wed, 06 Nov 2013 02:20:02 +0000 Original-Received: (at 15808) by debbugs.gnu.org; 6 Nov 2013 02:19:01 +0000 Original-Received: from localhost ([127.0.0.1]:36406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vdshx-00056O-BG for submit@debbugs.gnu.org; Tue, 05 Nov 2013 21:19:01 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:22010) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vdshv-000569-23 for 15808@debbugs.gnu.org; Tue, 05 Nov 2013 21:18:59 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFxLzd/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GsR+QDo0Pg3sDiGGcGYFegxWBUQ X-IPAS-Result: Av4EABK/CFFFxLzd/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GsR+QDo0Pg3sDiGGcGYFegxWBUQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="37183812" Original-Received: from 69-196-188-221.dsl.teksavvy.com (HELO pastel.home) ([69.196.188.221]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 05 Nov 2013 21:18:52 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 9570A60A07; Tue, 5 Nov 2013 21:18:52 -0500 (EST) In-Reply-To: (Leo Liu's message of "Wed, 06 Nov 2013 08:59:42 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:80053 Archived-At: >> Try it with M-x profiler-start RET RET ... M-x profiler-report RET. > I got the following which doesn't seem useful. Am I wrong? Thanks - Leo You need to `C-u RET' on the lines with the + to see more details. > + if 144 35% The count is too small: this is a sample-based profiler, so you need a long enough runtime to get meaningful results (otherwise, the various stack fragments collected can't be pieced together to get the whole tree). Also, it seems some of the code is interpreted. If the result is still hard to interpret, you might want to try and byte-compile that code. > + call-interactively 6,531,039 99% That looks much more promising. What does C-u RET show? Stefan