Subject: bug#46202: 28.0.50; project-find-file performance degrades significantly with ede-enable-generic-projects

From: Dmitry Gutov <[email-masked]>
Date: Mon, 1 Feb 2021 14:08:26 +0200

Hi!

On 31.01.2021 06:38, Pankaj Jangid wrote:
> 
> With following lines in init, the performance of project-find-file (C-x
> p f) degrades significantly:
> 
> (eval-and-compile (require 'ede))
> (global-ede-mode +1)
> (ede-enable-generic-projects)
> 
> If I comment ‘(ede-enable-generic-projects)’ then it is back to normal.

Adding a basic project backend for EDE seems to have been a bet with 
little payout (nobody who knows anything about EDE is improving it).

Could you explain how you using EDE and the benefit you get from calling 
(ede-enable-generic-projects)?

Would anybody miss EDE <-> project.el integration, do you think?

We could remove it or, I suppose, deprioritize over the VC-based backend.

For a workaround, try:

   (with-eval-after-load 'ede
     (remove-hook 'project-find-functions #'project-try-ede))