From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#70036: a fix that Date: Thu, 18 Apr 2024 16:45:37 +0100 Message-ID: References: <87le63xzjt.fsf@thornhill.no> <87zftq65n5.fsf@localhost> 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="2834"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Felician Nemeth , Eli Zaretskii , 70036@debbugs.gnu.org, Theodor Thornhill To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 18 17:47:27 2024 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 1rxTyx-0000VC-5R for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Apr 2024 17:47:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxTyV-0000XN-GZ; Thu, 18 Apr 2024 11:46:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxTyL-0000Ue-P2 for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 11:46:50 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxTyL-0001yc-Gm for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 11:46:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxTyY-0001Zu-RS for bug-gnu-emacs@gnu.org; Thu, 18 Apr 2024 11:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Apr 2024 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70036 X-GNU-PR-Package: emacs Original-Received: via spool by 70036-submit@debbugs.gnu.org id=B70036.17134551725717 (code B ref 70036); Thu, 18 Apr 2024 15:47:02 +0000 Original-Received: (at 70036) by debbugs.gnu.org; 18 Apr 2024 15:46:12 +0000 Original-Received: from localhost ([127.0.0.1]:53134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxTxi-0001Tv-HB for submit@debbugs.gnu.org; Thu, 18 Apr 2024 11:46:11 -0400 Original-Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:54341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxTxg-0001St-DU for 70036@debbugs.gnu.org; Thu, 18 Apr 2024 11:46:09 -0400 Original-Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2d895138ce6so15371251fa.0 for <70036@debbugs.gnu.org>; Thu, 18 Apr 2024 08:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713455148; x=1714059948; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hxrgJNb835lwtGWuQpuJWhcT2Ob68O7ydGIg7meJqVw=; b=Rw2bOA5eh5Q5gVY48ksN52wkXLHiMB6umE5WUs/PCa0WpHNpiOji3BPKlRbFqrnqb9 gBTEw61yWX31btMXr6DyCuYCBxB7Fb8t0+q414DO2upIDU5TeYrwHMM/FJZ3G6d8xQq1 HHjdMapKN/yEUKU43IeqMp1CnhmZ0R0mqOts/EEnRiRv45uPf2uVDH6ia6LU7SsqOreX X9Lhrm/0ZMh4j0s1qnaIYD00hqVD/qfBZmbnVUet7lqVlH8SzX6OplVWb35Tb5Po1iLa 2K9PaddM5fehWd24BKmHAfkOtZMtPG4rbqQjn0rDn8K0vEU6MH/3GLBwXULje2dnSDkk vUEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713455148; x=1714059948; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hxrgJNb835lwtGWuQpuJWhcT2Ob68O7ydGIg7meJqVw=; b=QZrqb5wD51dcsNuPyohCifRLDsEIO9cc3yLTtL1RsEP+EnM6xfPJVOLkyB8xzUomrn iu6qkyyNKnbvirYLByoB0C2jK5Vyx87BnL10D2/wEt6w9NxC9Ec/hrK9OqkCLIif+6Ke W+r1NoaQb1cYUSd8Bo39giVBpTY7Fy0kHSQQEgRZDNkHbsXiR6+GrlmD31vzCBnndG/R 3+CPKv/HqnpINuKKQY3+VxyxBY4rqqm0XBhymYtXgwq2X1pl8Z6o1Wtay/2atmUbhxHf BoVBrrSTqH6leGaoyR5EuR6D/RGERWVoJphimBM0HQEYqmdUV4Me8z3RGcReCwBFVG7x /djg== X-Forwarded-Encrypted: i=1; AJvYcCVanjJEp0KCwkVfhPDirfxgvpSuHxPCQvV6AYf4e73BjRLyQqw8AJS/YDFl1xuFp6kDhF3NoLi3dhZa/M7ZrsYGYpJShw4= X-Gm-Message-State: AOJu0YxE13v7NoOEmKUiBfvwp5lHsxS2PiWc8/5KfiBF6TybwDsEeM7u FrFuYBv6UwW655ylvCwF58GqjOvXjhLdwIOF8KMmVqj4LhTmw08rUL1FPrshSryyqYWzRGeQi49 K5aYedNSlohhQ1wqtf3pU4EW0AjTgKw== X-Google-Smtp-Source: AGHT+IEVUJyZWJPSXZM2tPUZjrbK28QCTf9GB4ZnHD8RAQ1SYR+jr2950OKzUfyaG44915dkM/muvoJyPvqjjk6Qg5U= X-Received: by 2002:a2e:720d:0:b0:2d8:f3b:d026 with SMTP id n13-20020a2e720d000000b002d80f3bd026mr2105937ljc.14.1713455148260; Thu, 18 Apr 2024 08:45:48 -0700 (PDT) In-Reply-To: <87zftq65n5.fsf@localhost> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:283576 Archived-At: On Thu, Apr 18, 2024 at 4:39=E2=80=AFPM Ihor Radchenko wrote: > > Jo=C3=A3o T=C3=A1vora writes: > > > 18 8% - eglot--TextDocumentPositionParams > > ... > > 25 1% - eglot--TextDocumentPositionParams > > 23 1% - eglot--TextDocumentIdentifier > > 23 1% - eglot-path-to-uri > > 13 0% - file-truename > > Be aware that 13 is roughly in milliseconds (with the default value of > `profiler-sampling-interval'). The numbers you are seeing in this > profile are close to the "noise" levels. Correct, and that was precisely my point. I had to work hard just to get these numbers to show on the profile with average-length pathnames. But it was enough to verify that I apply my caching patch, they go away completely. Jo=C3=A3o