From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 30 23:38:51 2021 Received: (at submit) by debbugs.gnu.org; 31 Jan 2021 04:38:51 +0000 Received: from localhost ([127.0.0.1]:56210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l64Ve-0000dF-9e for submit@debbugs.gnu.org; Sat, 30 Jan 2021 23:38:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:41702) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l64Va-0000d5-JS for submit@debbugs.gnu.org; Sat, 30 Jan 2021 23:38:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l64Va-0001El-3Q for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 23:38:46 -0500 Received: from mail-pf1-x42f.google.com ([2607:f8b0:4864:20::42f]:40528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l64VY-0007JW-3G for bug-gnu-emacs@gnu.org; Sat, 30 Jan 2021 23:38:45 -0500 Received: by mail-pf1-x42f.google.com with SMTP id i63so9271210pfg.7 for ; Sat, 30 Jan 2021 20:38:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:mail-followup-to:date:message-id:mime-version :content-transfer-encoding; bh=KGJooOrodJs81f7wNdKfdGvnzWU9Ut4EzeimIA36sYA=; b=0Mk9EkcSH6FSyzgHn83eQbzCRHisBCg9UUomCgAX7h1aIGdGwfw5LAJBir2e2BlkRB Ba6UDQeag4Izun9s77t7nh40nHJpIIqkZP5rqhzENnLro/rBWbuTxelsqxLc/3uyWYyB ivWDoGFrJCEG+o48aTkQqoeYneF8FLdQgqbIaKsTiQisOL3UYxyFAUro3Iu1H2nvVJGa Ifpy3RmQr5ZX7V6NT9aV+1PzUxJR+P4D2XZ7dvWQ6Q9q2uj5ftMhIlQGTvP8g46ws3Ut ZSeYsWq3tVcv6GqMHPMOEMQYc96hXOiI27QS50Tovf/df7QhA7Zspudow923ZguB3CQ1 GaDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:mail-followup-to:date:message-id :mime-version:content-transfer-encoding; bh=KGJooOrodJs81f7wNdKfdGvnzWU9Ut4EzeimIA36sYA=; b=PkgLphnLe187chbE/SPlZpbmjCxhmbohUWH4Fj4m++FmanXBYhBeSJGEUtPSPyHZJq hZ6HdpdB3jZwdOGBCPwywUs+PRH3ssAOpeDs2VDkKd1qNlRk/PyUMCpqHSIOtP255SsM X/6WiTig2YYHv09uzt5RZA1POnNoAO+/4Sc3z1AOLGPEFu+9NtBHAM1UyI3FBFNudHib kMeleYw2dteqmj+jO+dumNZdluhbr9Pe9QYCgKMDNJDLpsFgfxCufqUDrFF4l23ukcJQ zx0vOPmFxliFwlJS9VcxgzPf7GQlL8eXDq1uGrRh87BzfG+uHFIOMew1j/KGCYw+YNHi fAjQ== X-Gm-Message-State: AOAM530GNrqBl2FfZi1n/iTkXNuZmQFww96fG3YpKYNPxmKNxQMRi/zS kYGNEI8mQa+RzwNkfj1d7t0E12WLuZ77bw== X-Google-Smtp-Source: ABdhPJwDu/8wJnYMkPzzSawNI+h2mYx9ttNcOUuAXMczkwjQLKvUPRdfVM+EYnWfkgkFpQKsrg6J7g== X-Received: by 2002:a62:8c85:0:b029:1bd:5441:6cb8 with SMTP id m127-20020a628c850000b02901bd54416cb8mr10802996pfd.29.1612067921856; Sat, 30 Jan 2021 20:38:41 -0800 (PST) Received: from mb2.local ([2405:201:5c06:700a:5c14:f03:3312:8280]) by smtp.gmail.com with ESMTPSA id b17sm13575842pfp.167.2021.01.30.20.38.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Jan 2021 20:38:41 -0800 (PST) From: Pankaj Jangid To: bug-gnu-emacs@gnu.org Subject: 28.0.50; project-find-file performance degrades significantly with ede-enable-generic-projects Mail-Followup-To: bug-gnu-emacs@gnu.org Date: Sun, 31 Jan 2021 10:08:34 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2607:f8b0:4864:20::42f; envelope-from=pankaj@codeisgreat.com; helo=mail-pf1-x42f.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) 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 bac= k to normal. It is reproducible with =E2=80=98emacs -Q=E2=80=99. In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.2.0, NS appkit-2022.20= Version 11.1 (Build 20C69)) of 2021-01-31 built on mb2.local Repository revision: 0f2d87716a2cb6fae5ea6719763441c448fe7a74 Repository branch: master Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.1 Configured features: ACL DBUS GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TIFF TOOLKIT_SCROLL_BARS XIM ZLIB Important settings: value of $LANG: en_IN.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: shell-dirtrack-mode: t electric-pair-mode: t display-line-numbers-mode: t savehist-mode: t global-ede-mode: t ede-minor-mode: t which-key-mode: t override-global-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-quote-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t hs-minor-mode: t Load-path shadows: None found. Features: (shadow flyspell ispell ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-plantuml ob-sql ob-css ob-js ob-java ob-C ob-python python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete ls-lisp ob-R ob ob-tangle org-src ob-ref ob-lob ob-table ob-exp ob-comint ob-emacs-lisp ob-core ob-eval ol org-loaddefs emacsbug sort smiley gnus-cite qp mm-archive mail-extr gnus-async gnus-bcklg gnus-ml hl-line disp-table utf-7 nndraft nnmh epa-file gnutls network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual nntp gnus-cache .gnus shortdoc help-fns radix-tree misearch multi-isearch find-dired grep compile comint ansi-color ebdb-message sendmail ebdb-gnus gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search time-date mail-utils mm-util mail-prsvr semantic/lex-spp vc-git diff-mode yasnippet company-oddmuse company-keywords company-etags etags fileloop generator xref project ring company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-template company-bbdb company cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs elec-pair display-line-numbers init savehist edmacro kmacro org-table org-keys org-compat org-macs format-spec ede/generic ede/shell ede/config semantic/db semantic/util-modes semantic/util semantic pp semantic/tag semantic/lex semantic/fw mode-local ede/speedbar ede/files ede ede/detect ede/base ede/auto ede/source eieio-speedbar eieio-custom wid-edit cedet ebdb-mua ebdb-com crm ebdb-format ebdb mailabbrev eieio-opt speedbar ezimage dframe find-func eieio-base pcase cal-menu calendar cal-loaddefs timezone rust-mode rx thingatpt which-key advice diminish hideshow cl-extra help-mode finder-inf use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core server my-init avoid paren cus-start cus-load my-util info early-init package easymenu browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 626025 24354) (symbols 48 40688 1) (strings 32 167634 11422) (string-bytes 1 5272623) (vectors 16 65198) (vector-slots 8 1134269 87468) (floats 8 376 196) (intervals 56 1374 0) (buffers 984 33)) --=20 Regards, Pankaj Jangid GnuPG Fingerprint: 0B62 7424 3B26 A911 052A DDE6 7C95 6E6F F858 7689 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 07:08:40 2021 Received: (at 46202) by debbugs.gnu.org; 1 Feb 2021 12:08:40 +0000 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 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 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) 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) Subject: Re: bug#46202: 28.0.50; project-find-file performance degrades significantly with ede-enable-generic-projects To: Pankaj Jangid , 46202@debbugs.gnu.org References: From: Dmitry Gutov Message-ID: Date: Mon, 1 Feb 2021 14:08:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 46202 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) 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)) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 11:26:58 2021 Received: (at 46202) by debbugs.gnu.org; 1 Feb 2021 16:26:58 +0000 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 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 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) 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) From: Pankaj Jangid To: Dmitry Gutov Subject: Re: bug#46202: 28.0.50; project-find-file performance degrades significantly with ede-enable-generic-projects References: Date: Mon, 01 Feb 2021 21:56:43 +0530 In-Reply-To: (Dmitry Gutov's message of "Mon, 1 Feb 2021 14:08:26 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 46202 Cc: 46202@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 17:55:17 2021 Received: (at 46202) by debbugs.gnu.org; 1 Feb 2021 22:55:17 +0000 Received: from localhost ([127.0.0.1]:33501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6i6E-0005pI-Iy for submit@debbugs.gnu.org; Mon, 01 Feb 2021 17:55:17 -0500 Received: from mail-wr1-f54.google.com ([209.85.221.54]:42845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6i69-0005oz-IM for 46202@debbugs.gnu.org; Mon, 01 Feb 2021 17:55:13 -0500 Received: by mail-wr1-f54.google.com with SMTP id c4so15691105wru.9 for <46202@debbugs.gnu.org>; Mon, 01 Feb 2021 14:55:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=5YNyuq4VBp6FrRVTyhTvfwJBhDncNmZb38wTHHjIVIo=; b=jQf3Wl22feijLekcrEb+FQd9EDncL9Izc3MDdPR8/Pd8xd7AJqV1zAhpawWC8Fzqym kSzZ1Eido2HIMRTzc04J3He6cUcqPGwh3cuxpyPETlD7BSB+uQHUpT+1M/3Mg2/YLJpx 5UJEtNBe9ApA+Cxouus2JukKE8Dh8+1TiNWJAUocDTU6v8ElVwbz5oLkzQjVqJLX7ZUq e6b/xBM/R9/Kac+4KzLjBAlpF97D0JrkEIcUyITusZnnUVk7bebKmknlA3xJnD1C1AOJ 0sy45Wc1XaAkGsjtz0BYmUMbGncJaM9Ep4p5/IyDaDq6WYrVYZ5dsqq+P8wPi2gj6t2N TwJg== 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:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=5YNyuq4VBp6FrRVTyhTvfwJBhDncNmZb38wTHHjIVIo=; b=Z2TXTym1o8FHx9qTZkdsnlPcJj79Do7y01KPXRQnQzuerfq3uSQ5EiOg5+KFdEYhDF x8esjaEeew6ItzIfxMjIxa0KRuhb/heN97H3/TNl+4eXBZpFUWmC6/WKc18fqHVSvxE/ eGpMznrZ9wqX11LAsAkiAF+M4K+/XNBQzbNIW/ZIUZTSme/K48E/W5RTliUy/eyaouYz nqfyqF6mbAANT93nKl3a0n4+auLLzMaEgehz346yp6hSTxQEgOOw2wkog6pUQyR7jkKu D1qpfaGnfPOOSxGCB8B+hrNHDoFWEcD2ncXcUaZ+CYD8TQyXP4TH7EyPRnXRQlKLZ5Wv 2rbQ== X-Gm-Message-State: AOAM532gE0iUh0d1QRHqn3PFPk6FSacx8+oQrkBz3rdRw81mDqBpbACD TcL/v3rrzACRofQD3w6h2JiEaRz7Hj8= X-Google-Smtp-Source: ABdhPJzBOeHiCVevbqGmAve9wsQuW9onSq8UurqkCrrfF3ebO79DMGOyIHJpRdPRe9B4HyzYL9N2sg== X-Received: by 2002:a05:6000:22a:: with SMTP id l10mr21081460wrz.131.1612220103384; Mon, 01 Feb 2021 14:55:03 -0800 (PST) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id z14sm28827989wrm.5.2021.02.01.14.55.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Feb 2021 14:55:02 -0800 (PST) Subject: Re: bug#46202: 28.0.50; project-find-file performance degrades significantly with ede-enable-generic-projects To: Pankaj Jangid References: From: Dmitry Gutov Message-ID: Date: Tue, 2 Feb 2021 00:55:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 46202 Cc: 46202@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 01.02.2021 18:26, Pankaj Jangid wrote: > 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’t touch > 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. Did it have an explanation for which effect ede-enable-generic-projects was going to have? >> 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. I'd like some help with choosing between these options. >> For a workaround, try: >> >> (with-eval-after-load 'ede >> (remove-hook 'project-find-functions #'project-try-ede)) >> > > This workaround did not work. Hmm. What's your value of project-find-functions? And which file/package was project-try-ede defined in, if any? If you're From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 01 22:02:18 2021 Received: (at 46202) by debbugs.gnu.org; 2 Feb 2021 03:02:18 +0000 Received: from localhost ([127.0.0.1]:33718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6lxI-0005Sh-Pg for submit@debbugs.gnu.org; Mon, 01 Feb 2021 22:02:18 -0500 Received: from mail-pj1-f51.google.com ([209.85.216.51]:34814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6lxG-0005ST-BS for 46202@debbugs.gnu.org; Mon, 01 Feb 2021 22:02:15 -0500 Received: by mail-pj1-f51.google.com with SMTP id my11so917975pjb.1 for <46202@debbugs.gnu.org>; Mon, 01 Feb 2021 19:02:14 -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=Coxu6ao0Qj7sDShhRMu2/Yei2dOmMxJ8TpmO5ElK7+0=; b=lHvHSDQshZrCEQjHSb9Zc0MtFZmMC7wHievs2AXa5xwXYOeZ6x9gGAYBC8UGno1ek5 HU0Mq2YKNuazVhQU4v5xj7Es05PEU7S++ARXXYe3bauQPEt59IGnKKk8ati1u2G/vIKa f1cUD+iZu1mF6lkF2lBMkL+gvLyIKzlviUq1NUBBGhz8CKqFfO8Zt7LBtbECbXDtotm3 d91LaIR9ZaBt6WzC6QqUC56QVDnbHwD5hdLcknfaIWVgRkcyJkFcTcK+utir3O6w8BW7 vmRMM34Pnvnqh2uvbmc6rAXTfINvjk6CrlcJCe5FEMeQ15uWpP+qR3n8rgX1GejSPeVK kHDg== 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=Coxu6ao0Qj7sDShhRMu2/Yei2dOmMxJ8TpmO5ElK7+0=; b=CPOcbYG/7xSPq9j1x2mLk/UxGPXuzGNeemd+veTf/c8nxghKsT3mPbnFBiw0TVrnQi WgYbEQyozgJwdJjAHyceM41bCKBOG5qZWmtrU5xdwqEw7TeozTC0GO5zBvJHOnFVzRjo OuFBAjdqYq9E3HX0bJsRwReqzBFywcQzbvt7Vh1X9iKdrM85Sz8cuTtAv41g8p8s0bGM d+rwWxQhNgKdoT8WHeqxFyGcsL8wDss2ZAHpxItH5AANu0WnsM9JLN6q3vwRo3hnukO6 nJyvb4O6Hbz6SsxMWBVQ+UMUuxUGaXVo2sYadRcYgB1nTbnu8514h7X79pV/xpnmvFvs r9Zw== X-Gm-Message-State: AOAM532m6WQFKvnzauzYFd7blzhSP4xq+tHaU+gWf8N085MEvDW1GEhL U2VqIFJfwqMjGwMkge7iM0brSe4A2/f5Uw== X-Google-Smtp-Source: ABdhPJzAj9AR7peJV9pBSP9Zf8RXt+ifvjChE3DbPLlIVONPJWl/ZxN0a9bDDpoSiQ6u+Bos3xiY/w== X-Received: by 2002:a17:902:c509:b029:de:c3c7:9433 with SMTP id o9-20020a170902c509b02900dec3c79433mr20764628plx.71.1612234928247; Mon, 01 Feb 2021 19:02:08 -0800 (PST) Received: from mb2.local ([2405:201:5c06:700a:d0a9:feb1:3a2e:12e9]) by smtp.gmail.com with ESMTPSA id g15sm18865068pfb.30.2021.02.01.19.02.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 19:02:07 -0800 (PST) From: Pankaj Jangid To: Dmitry Gutov Subject: Re: bug#46202: 28.0.50; project-find-file performance degrades significantly with ede-enable-generic-projects References: Date: Tue, 02 Feb 2021 08:32:03 +0530 In-Reply-To: (Dmitry Gutov's message of "Tue, 2 Feb 2021 00:55:00 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 46202 Cc: 46202@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dmitry Gutov writes: > On 01.02.2021 18:26, Pankaj Jangid wrote: > >> 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=99= t touch >> 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. > > Did it have an explanation for which effect > ede-enable-generic-projects was going to have? Nope. >>> For a workaround, try: >>> >>> (with-eval-after-load 'ede >>> (remove-hook 'project-find-functions #'project-try-ede)) >>> >> This workaround did not work. > > Hmm. What's your value of project-find-functions? > > And which file/package was project-try-ede defined in, if any? If you're After (ede-enable-generic-projects),=20 Its value is (project-try-ede project-try-vc) From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 17 22:12:25 2021 Received: (at 46202-done) by debbugs.gnu.org; 18 Feb 2021 03:12:25 +0000 Received: from localhost ([127.0.0.1]:45519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCZjt-00015B-Ai for submit@debbugs.gnu.org; Wed, 17 Feb 2021 22:12:25 -0500 Received: from mail-ed1-f51.google.com ([209.85.208.51]:33643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCZjr-00014w-AD for 46202-done@debbugs.gnu.org; Wed, 17 Feb 2021 22:12:23 -0500 Received: by mail-ed1-f51.google.com with SMTP id c6so997614ede.0 for <46202-done@debbugs.gnu.org>; Wed, 17 Feb 2021 19:12:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/M2w6aYNOobsuDzOe41umP1QOgRrCsY1UCcxY7+/wQc=; b=gHmJT1LBi03bIEUz3tYk065EgYSgAz6qDBBuUUE2GhAf/77i3fg888M9JWX2IM1+YX Jx8dVFrbx2axhR91RHrpUOvSREWXVbuoBDO0h4f3+EDqzPym2RXFSTW/rjRCm5KeGzck FZuiklE90tWdjJ69iXjlu8ihruYpjQExMNogfRphZtqOsMR0V26Jeae5ptL2B/Yor/Qy FFiap8WnlRQUpFn8ocnH7SnhQpHDA0QA+OjRxzFq/NVWH95gneSYYe2pM8VHbDpa73ip DSFyyQFUtoWn27x1NzmgQPV+NC3Vurz/c5RePiSlOhnfs3GXXbFuWzAMXYMQvtgkM2ve pUew== 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:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/M2w6aYNOobsuDzOe41umP1QOgRrCsY1UCcxY7+/wQc=; b=g5kaiVQ94T1t0fvOsLs7E1k6vKeiZWdEiaYq24CR4NTfMcKb6+dffMjgNXHMjvvNkQ TpD+e9sor84CWCKX7vvBtB2O7q6W025jNhQxIzXws7XnHHVFto9j1j2pqkUGOBGWdS9O dr0GugxASkUkGAdpekDUXnDmeizZFLAAKSGDs/lt0Ff85biCr9/gnQ/FXepA3iXcdqwS VrWsL8iDO90OdJVHfjbrgKjrvroZztoYJcWRHS/ScxBpgKhYJPbqvrk3R9vqTdSxzX0b 4xdz8vAjZ5b5F3q9O47TQF3h/0E0+vJ025iqkAOG93vR1wevPHWgb4COYgNDEMxPssKM m3Sw== X-Gm-Message-State: AOAM532rSOsmjrw4jFQm5GReBYrJDx19SLtN8DvvtZNz7fZfEVMQw7ny +ZKwERNHPPih2ERY6xEv9bSU8kHDjzw= X-Google-Smtp-Source: ABdhPJwCt+TtLEZTkeiJgieCtFLG74g43hHxh68/e3qZub+uPPsz/jtBv2DIr83aBrkDeU8UafTCRw== X-Received: by 2002:a05:6402:296:: with SMTP id l22mr1828575edv.225.1613617937491; Wed, 17 Feb 2021 19:12:17 -0800 (PST) Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id gl7sm1779505ejb.59.2021.02.17.19.12.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Feb 2021 19:12:16 -0800 (PST) Subject: Re: bug#46202: 28.0.50; project-find-file performance degrades significantly with ede-enable-generic-projects To: Pankaj Jangid References: From: Dmitry Gutov Message-ID: Date: Thu, 18 Feb 2021 05:12:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 46202-done Cc: 46202-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) On 02.02.2021 05:02, Pankaj Jangid wrote: >> Did it have an explanation for which effect >> ede-enable-generic-projects was going to have? > Nope. OK, I've moved it to the end of the hook (commit 8358637936). It shouldn't hurt as a fallback anyway, when there's no VC repository around. Thanks for the report. Let us know if you're still having problems after that. From unknown Fri Sep 05 20:36:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 18 Mar 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator