From: Sebastian Schueppel <Sebastian.Schueppel@emulex.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: emacs vhdl-mode
Date: Fri, 5 Dec 2014 05:03:13 +0000 [thread overview]
Message-ID: <864DAD08183C5542BBA43966DC0FB6381379D969@CMEXMB1.ad.emulex.com> (raw)
Hi,
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.
---
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).
Hope this helps someone. Or might see an improvement in future versions.
---
Sebastian
next reply other threads:[~2014-12-05 5:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-05 5:03 Sebastian Schueppel [this message]
2014-12-05 13:41 ` emacs vhdl-mode Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=864DAD08183C5542BBA43966DC0FB6381379D969@CMEXMB1.ad.emulex.com \
--to=sebastian.schueppel@emulex.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.