From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rafal Kurcz Newsgroups: gmane.emacs.help Subject: Re: xcscope.el slow - linux kernel Date: Sun, 09 Sep 2007 02:06:00 -0700 Organization: http://groups.google.com Message-ID: <1189328760.789064.137800@y42g2000hsy.googlegroups.com> References: <1189256635.844718.97330@w3g2000hsg.googlegroups.com> <87hcm5hvv2.fsf@post.rwth-aachen.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: sea.gmane.org 1189334616 31272 80.91.229.12 (9 Sep 2007 10:43:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2007 10:43:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 09 20:43:23 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IUQnD-0005pX-D9 for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Sep 2007 19:41:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUJIr-0004MC-44 for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Sep 2007 05:42:05 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!y42g2000hsy.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 83.14.252.50 Original-X-Trace: posting.google.com 1189328761 28579 127.0.0.1 (9 Sep 2007 09:06:01 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 9 Sep 2007 09:06:01 +0000 (UTC) In-Reply-To: <87hcm5hvv2.fsf@post.rwth-aachen.de> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20070216,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 cns-gdn.emea.cpwr.corp:8001 (squid/2.5.STABLE6), 1.0 cns-gdn-ext.emea.cpwr.corp:3128 (squid/2.5.STABLE6) Complaints-To: groups-abuse@google.com Injection-Info: y42g2000hsy.googlegroups.com; posting-host=83.14.252.50; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:151881 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47395 Archived-At: Thank You for an answer > I guess you mean "much faster than 2.0 seconds" in order to match the 0.1 seconds > from the bare bones cscope interface. xcscope.el is just an interface to cscope, > it can't be faster. In fact I don't expect it to be faster but it looks like the interface is at least 20 times slower than the bare cscope. I think it is too much. Furthermore searching architecture-dependent symbols (e.g. symbols from arch/alpha/mm/init.c) takes about 8 secs on my Pentium 4 2.4 GHz (80 times slower than the bare cscope). Cscope shows the list of candidates to jump in less than 0.1 secs. Why not just take this list into emacs and display it ? It seems not to be so time consuming task. > You could hack cscope-indexer to include the "-q" or even the "-k" option I've already done all those tricks with "-q", "-b" and "-k" options. Unfortunately it didn't help. Thank You for any help.