From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Schueppel Newsgroups: gmane.emacs.help Subject: emacs vhdl-mode Date: Fri, 5 Dec 2014 05:03:13 +0000 Message-ID: <864DAD08183C5542BBA43966DC0FB6381379D969@CMEXMB1.ad.emulex.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1417758115 16205 80.91.229.3 (5 Dec 2014 05:41:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2014 05:41:55 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 05 06:41:48 2014 Return-path: Envelope-to: geh-help-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 1XwleF-0006OU-PW for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Dec 2014 06:41:47 +0100 Original-Received: from localhost ([::1]:48883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwleF-0005Hq-Dc for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Dec 2014 00:41:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwlWt-0003jG-0A for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 00:34:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwlWm-0004Ve-Bp for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 00:34:10 -0500 Original-Received: from cmexedge1.emulex.com ([138.239.224.99]:52103 helo=CMEXEDGE1.ext.emulex.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwlWm-0004VE-7M for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 00:34:04 -0500 Original-Received: from CMEXHTCAS1.ad.emulex.com (138.239.115.217) by CMEXEDGE1.ext.emulex.com (138.239.224.99) with Microsoft SMTP Server (TLS) id 14.3.174.1; Thu, 4 Dec 2014 21:03:33 -0800 Original-Received: from CMEXMB1.ad.emulex.com ([169.254.1.49]) by CMEXHTCAS1.ad.emulex.com ([2002:8aef:73d9::8aef:73d9]) with mapi id 14.03.0174.001; Thu, 4 Dec 2014 21:03:13 -0800 Thread-Topic: emacs vhdl-mode Thread-Index: AdAQSMWP+7zJlcCHTASnly4pcmiTtA== Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [138.239.113.186] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 138.239.224.99 X-Mailman-Approved-At: Fri, 05 Dec 2014 00:41:35 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101413 Archived-At: Hi,=0A= after I failed to reach the maintainer of the vhdl-mode Reto Zimmerman, I t= hought I might share this information just here. His email 'reto@gnu.org' c= omes back with 'Mail delivery failed' Error.=0A= ---=0A= I have set up a vhdl-project. The project has about 400 vhdl files. I do ge= t the list of files out of our make flow and then convert them to relative = paths in respect to the default-directory.=0A= With an unmodified vhdl-mode.el the scanning (from the speedbar) of the pro= ject and all of its ~400 files takes >5min and 100% CPU.Therefore renders t= he emacs unusable for that time.=0A= =0A= I ran a profiler over the elisp and I ended up commenting out the following= line in the vhdl-mode.el:=0A= (setq dir-list-tmp (vhdl-resolve-paths dir-list-tmp))=0A= in the function vhdl-scan-project-contents=0A= Since i don't have any wildcards in the paths of my sources this has no har= m for me.=0A= =0A= This speeds up the process of scanning the project significantly (total tim= e ~15sec).=0A= =0A= Hope this helps someone. Or might see an improvement in future versions. = =0A= ---=0A= Sebastian=