From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#46202: 28.0.50; project-find-file performance degrades significantly with ede-enable-generic-projects Date: Mon, 1 Feb 2021 14:08:26 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17447"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: Pankaj Jangid , 46202@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 01 13:09:37 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 1l6Y1P-0004Q3-MP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 13:09:35 +0100 Original-Received: from localhost ([::1]:42692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6Y1O-0003Fm-K0 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 07:09:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6Y0s-0003Dz-6G for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 07:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6Y0r-0002WS-V8 for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 07:09:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l6Y0r-000836-Qj for bug-gnu-emacs@gnu.org; Mon, 01 Feb 2021 07:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Feb 2021 12:09:01 +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.161218132030906 (code B ref 46202); Mon, 01 Feb 2021 12:09:01 +0000 Original-Received: (at 46202) by debbugs.gnu.org; 1 Feb 2021 12:08:40 +0000 Original-Received: from localhost ([127.0.0.1]:59279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6Y0V-00082P-MZ for submit@debbugs.gnu.org; Mon, 01 Feb 2021 07:08:39 -0500 Original-Received: from mail-wm1-f42.google.com ([209.85.128.42]:53268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6Y0R-00082A-Fq for 46202@debbugs.gnu.org; Mon, 01 Feb 2021 07:08:38 -0500 Original-Received: by mail-wm1-f42.google.com with SMTP id j18so12437262wmi.3 for <46202@debbugs.gnu.org>; Mon, 01 Feb 2021 04:08:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=S6JRT4MjOQIQiy09H6R5AitLkYcptRRRgyAzdPjeWKE=; b=H4/Xghsb7ciO5HQBrEru1FXk4lhg7rjHtrFmTz+lyZooF7gl4UFZczzqRYQgAWwj6/ +R/3ZczqdlT0kSVFuQKbdhQOafwWEFGbxtYxudHvbGMyBGi8RMWnzJ8bKhVCA7uO0Mio qeWCImyVRm9veyKE3ZLk50hnbjZQ5Byrbq4Wf8TG2TcXIcAwi2GeWkyrFpX1bjqeu0z1 DS2OSfvDp4XinWSj5F2T4aKFQfk93ZKA+7MGEG5EypClXfqs9lxYVicXNTIHfXkxL5q9 cLpbZ827YBK3zBW3LKLMC1n34fIju54vJ/nCtAnSYcAJJ+jPcaF/zGjpACEpmj/jJrme zcnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=S6JRT4MjOQIQiy09H6R5AitLkYcptRRRgyAzdPjeWKE=; b=TBxKmfnvshOS6VlCGwMpuct3ESAjY33PeV61xUTeyfPmZLl627nC2fhd4Y5qhuUZbu sFtXqw4g1e4JX1a00gnYDZKQkVcX2KZl96ZFIQlW5z6qA85ZqTkQ/EnYcORvboZFqVg/ vTGVqSn+f21N2EdrLPUg8vR9JXIg+mTidWRN7WBQUns/UrgzgxB5KgAJLgOwhZAhsZ23 9+lKnTeFMszXaQ0cSyhzexE/CjcM93aFyoeqazQbC4TT+Q3PkBQidBfcBiUJ+URTcn+1 oumamzDjfYXvbuxADDP55E7nNq0vNQSZEjtsa/fb/CJ3+NAKKpn7Bl7fPcQOcnDUBEWu 8FVw== X-Gm-Message-State: AOAM530kuG35WTeCfAblCADQsFKZQ8xrxlcoDZVdBWX3/vp2KQm+thAw BmOkSV+v+etyBA6smwcpVoHwODdWbiY= X-Google-Smtp-Source: ABdhPJx+IKIaGE3SSgncIZR7mfesPwMBxXxLWteQMCeTHnq6FmRyBx3M/r47vQG6dmAgG8ArcmMlKQ== X-Received: by 2002:a05:600c:2182:: with SMTP id e2mr15135628wme.45.1612181309332; Mon, 01 Feb 2021 04:08:29 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id f13sm16978979wmf.1.2021.02.01.04.08.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Feb 2021 04:08:28 -0800 (PST) In-Reply-To: Content-Language: en-US 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:199072 Archived-At: 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))