From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.bugs Subject: bug#46202: 28.0.50; project-find-file performance degrades significantly with ede-enable-generic-projects Date: Mon, 01 Feb 2021 21:56:43 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15000"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: 46202@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 01 17:27:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l6c2k-0003n2-2P for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 17:27:14 +0100 Original-Received: from localhost ([::1]:38806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6c2j-0003BI-4D for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 11:27:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6c2Y-00038U-Ne for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 11:27:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6c2Y-0008V3-GP for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 11:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l6c2Y-0002TT-Cj for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 11:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Feb 2021 16:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46202 X-GNU-PR-Package: emacs Original-Received: via spool by 46202-submit@debbugs.gnu.org id=B46202.16121968189500 (code B ref 46202); Mon, 01 Feb 2021 16:27:02 +0000 Original-Received: (at 46202) by debbugs.gnu.org; 1 Feb 2021 16:26:58 +0000 Original-Received: from localhost ([127.0.0.1]:32967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6c2T-0002TA-Ra for submit@debbugs.gnu.org; Mon, 01 Feb 2021 11:26:58 -0500 Original-Received: from mail-pf1-f182.google.com ([209.85.210.182]:41946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6c2P-0002Sh-Py for 46202@debbugs.gnu.org; Mon, 01 Feb 2021 11:26:56 -0500 Original-Received: by mail-pf1-f182.google.com with SMTP id q20so11926271pfu.8 for <46202@debbugs.gnu.org>; Mon, 01 Feb 2021 08:26:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=HEcvJ9XQh2owq5DKOD0MAUctRnXmrQ36P+IbvzS9JcI=; b=cn14OM03MvERCWP9B4usgaLqGZbHDOo2wOrg2XVH/9npvm9Bg/TofkT+SgZABxqfH4 3EjH3Xm5/rnrXsEcP4y3T768ClePGzy3HS0cgxBjfdgPMIjCxMnfdvvgDbaY2WgsFXSW hzOB6KmtUKiWxaY7l2DZXtWHQY9X+WEz41CetWj33a36cdKr/18aAcKG/J6YVd7SPh2M 0DL+HFzRE89Rm0rGw7p7xQ1oR+Bkjh89dGkT2QT1H5nOjd20utmumSXFLCLtc58RT5T1 E8l4YCAD9A1g3/Fpur8x2p7Zq7YP1TKEopFkckO52YSdPWw41IYaiqwLjU16TMECVfD5 YSgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=HEcvJ9XQh2owq5DKOD0MAUctRnXmrQ36P+IbvzS9JcI=; b=oN9NCi+8FuL9njavUSddHIXYdn3QqZJRSmEkt2XrHdKvH3j7JrzlZvwTa/KovfpI4R Y/gKIUGBR872OKqpvaKRjOnOFx3Uv7TAym9i70n0FpIz4pYCRTSGezXhzKMDZF9BLRzG oCfD6zeHRr8v5Cn/s29EbZaScQP2HRPMf3gDgJRxgh8bQlZMLl1Tlp0tSF/FbDWACGj9 hAmR9b5DaGuochXpsEVxqmYOE2d1rpb/TwlDb6ht9HUHxiUXw9WeM8rOPv2SXOLEmGM4 bnUgWCz8bZYk6meYdwUVbR0/5reooByiR+rOspShM1SZgru6eu5Qa5TVHl37tG5DVO+4 ZShQ== X-Gm-Message-State: AOAM533HCm9OUHfRDIeyGSH69U/o7DN3taMQ20LFYlT3dP9VVNcVLlJy aEx5kjTyBMumxWNqe66f0j7CaGCa9leNbQ== X-Google-Smtp-Source: ABdhPJxNLUWlCg6XkNSn21hMCJKvWjkN1EhfxML7BQ9Yg1CMuD0FZHeQDEMOlyd2aKKpRIR6g23Glg== X-Received: by 2002:a63:c4a:: with SMTP id 10mr17765555pgm.397.1612196807618; Mon, 01 Feb 2021 08:26:47 -0800 (PST) Original-Received: from mb2.local ([2405:201:5c06:700a:b500:29ae:791b:631a]) by smtp.gmail.com with ESMTPSA id e20sm19163354pgr.48.2021.02.01.08.26.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 08:26:47 -0800 (PST) In-Reply-To: (Dmitry Gutov's message of "Mon, 1 Feb 2021 14:08:26 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199091 Archived-At: Dmitry Gutov writes: >> 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 =E2=80=98(ede-enable-generic-projects)=E2=80=99 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)? I was just following the video tutorial from Anand Tamariya for configuring Emacs for Java coding. It suggested EDE. Earlier, when I read about EDE, it was mostly related to C/C++ files. So I didn=E2=80=99t t= ouch at that time. But now when I enabled generic projects, it affected my other workflow. So I disabled it again. I am happy with just the project.el. > Would anybody miss EDE <-> project.el integration, do you think? > > We could remove it or, I suppose, deprioritize over the VC-based backend. Yes. I think EDE should be disabled/ deprioritized in favour of project.el. > For a workaround, try: > > (with-eval-after-load 'ede > (remove-hook 'project-find-functions #'project-try-ede)) > This workaround did not work.