From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: emacs vhdl-mode Date: Fri, 05 Dec 2014 08:41:25 -0500 Message-ID: References: <864DAD08183C5542BBA43966DC0FB6381379D969@CMEXMB1.ad.emulex.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417786937 15991 80.91.229.3 (5 Dec 2014 13:42:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2014 13:42:17 +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 14:42:10 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 1Xwt97-0005Pr-Ef for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Dec 2014 14:42:09 +0100 Original-Received: from localhost ([::1]:50465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwt96-0006oG-VC for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Dec 2014 08:42:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwt8q-0006o5-8L for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 08:41:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xwt8k-00048z-6T for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 08:41:52 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:34757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xwt8j-00048s-LH for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 08:41:46 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xwt8g-0005E8-NB for help-gnu-emacs@gnu.org; Fri, 05 Dec 2014 14:41:42 +0100 Original-Received: from 76-10-164-234.dsl.teksavvy.com ([76.10.164.234]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Dec 2014 14:41:42 +0100 Original-Received: from monnier by 76-10-164-234.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Dec 2014 14:41:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 76-10-164-234.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:hY8LEdukfNIWh+mHtCsWkq8fv+E= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:101420 Archived-At: > after I failed to reach the maintainer of the vhdl-mode Reto Zimmerman, > I thought I might share this information just here. His email 'reto@gnu.org' > comes back with 'Mail delivery failed' Error. Hmm... AFAIK he's still maintaining it, so it might just be a transient email problem. > --- > I have set up a vhdl-project. The project has about 400 vhdl files. I do get > the list of files out of our make flow and then convert them to relative > paths in respect to the default-directory. > With an unmodified vhdl-mode.el the scanning (from the speedbar) of the > project and all of its ~400 files takes >5min and 100% CPU.Therefore renders > the emacs unusable for that time. > I ran a profiler over the elisp and I ended up commenting out the following line in the vhdl-mode.el: > (setq dir-list-tmp (vhdl-resolve-paths dir-list-tmp)) > in the function vhdl-scan-project-contents > Since i don't have any wildcards in the paths of my sources this has no harm for me. > This speeds up the process of scanning the project significantly (total time ~15sec). Sounds like an enormous speed difference, worth a bug report. Please include in your bug report enough information about what you've done (i.e. what means "getting the list of files out of our make flow" and especially how you then pass it on to vhdl-mode). Stefan