From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.help Subject: Is it possible to profile elisp? Date: Sun, 20 Nov 2022 08:17:04 -0600 Message-ID: <2BB789D5-7DC8-4A5E-983E-A8595895A464@easesoftware.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Content-Type: multipart/signed; boundary="Apple-Mail=_F18AA0E9-3BA8-493F-B983-1A8F56EDFB44"; protocol="application/pgp-signature"; micalg=pgp-sha256 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32855"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 20 21:11:13 2022 Return-path: Envelope-to: geh-help-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 1owqen-0008LV-37 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Nov 2022 21:11:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owqed-0005O7-8L; Sun, 20 Nov 2022 15:11:03 -0500 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 1owl92-0006en-1Q for help-gnu-emacs@gnu.org; Sun, 20 Nov 2022 09:18:04 -0500 Original-Received: from cyan.elm.relay.mailchannels.net ([23.83.212.47]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owl8z-00074I-Nc for help-gnu-emacs@gnu.org; Sun, 20 Nov 2022 09:18:03 -0500 X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id C79B98C0ECE for ; Sun, 20 Nov 2022 14:17:16 +0000 (UTC) Original-Received: from mi3-ss4.a2hosting.com (unknown [127.0.0.6]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 2F23A8C0F23 for ; Sun, 20 Nov 2022 14:17:16 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1668953836; a=rsa-sha256; cv=none; b=6BJCzelWLSoDAFQ3Nwk69IFdp5biJsCRuBPhjc/HcJ5ET3RjKZisEy+upKnt+Q0XHvivJt YWgMOudvvPTwku8IrJ/3Gw0qQv/eFPbvCQ/s2pka1UF48Cr9qyOTAdgdD4fik5ujWa7JtQ cDkZ4KlFoxViddcGp2mmWQZxRRMq3A5jm215v6ZVMnjqMZqScBoCk6lRIYfryND2qnCO0I 7JRmB2/u8BXElQXYh+M9NBJPogXj1h0V6QVURCEmviPhVNby4wP1zuGbI0V0XQuaMHOz9i V+W4iDiWo3sVzhijHSVEOnZGZfLeUWHJYBfyjL9zoaIjv0hRJPQXh3uOThmsHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1668953836; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=3jTJxK96UrrXxQ/dp+zKO9TFkcvHqA/Y44toYZXtrwE=; b=zyBN5iBBNt5//tr50cQuZOenniLXHEy+zxOf7KFPPu58R+K2kKITWxaN/Sh+FhfICuCyFb Tee/7xEinJzx2NE6ApcXXQ65QGWr9pqsr0eQiB9I0ZTZQKr+qHC4xpw3VE3wVTG4Qo+zTs pb35L7A83r39DWHwbZfBesuFFRZXgTWwVRcmI6d56r2/EjWimK8DmeuCw7eGi19sMCt50w bwcYDy4F3IY7QAno6YMEtG+FBLK+EWo5DvVURIlm1NTLHae5eNy/k7P5aaA5gxrKWwx/9I H6a+4bttcE0LxDAMQN2dYGN5btdpeaWB+X0yXLCaYdOem02r7C20De5buEFl7g== ARC-Authentication-Results: i=1; rspamd-64c57ffbcf-g6b7q; auth=pass smtp.auth=a2hosting smtp.mailfrom=pedz@easesoftware.com X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MailChannels-Auth-Id: a2hosting X-Obese-Befitting: 1e15840766cc66d9_1668953836556_1223306080 X-MC-Loop-Signature: 1668953836556:1831753070 X-MC-Ingress-Time: 1668953836555 Original-Received: from mi3-ss4.a2hosting.com (mi3-ss4.a2hosting.com [68.66.200.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.97.48.93 (trex/6.7.1); Sun, 20 Nov 2022 14:17:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=easesoftware.com; s=default; h=To:Date:Message-Id:Subject:Mime-Version: Content-Type:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=3jTJxK96UrrXxQ/dp+zKO9TFkcvHqA/Y44toYZXtrwE=; b=THaRismTNgpzHmhH1A/T3E5778 8vShnswFE9JkZDZilM2BnEIwFxKEdHEnAQXRel8sq5JBosxZ7TSZB3G/U0G1EwUjlhMUZOZt6SUxB /NrBm3PLU68JF1d0k9S5j93cklV0pXRkTd7sn3QXoFwCfUodNXcmpkRxmZsPfD5RB58OOKbCMUf/N OtpcoVgyzNc6n7wlzdsjst5PQCgXRmb12CVe8BHoO3EMxOKbbtKP0hdzA/3XVEDEBjSmooeQBYgvI NQ8j5gkVxh3avZZD2MIn84kXAxnQ+q4q3txfkoaRawBwmFUREOrQH0DQU7/9vZnUq/NtQ7IODVwX3 zqj4CSKg==; Original-Received: from cpe-70-94-128-193.satx.res.rr.com ([70.94.128.193]:62644 helo=smtpclient.apple) by mi3-ss4.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1owl8F-00DNEA-3m for help-gnu-emacs@gnu.org; Sun, 20 Nov 2022 09:17:15 -0500 X-Mailer: Apple Mail (2.3731.200.110.1.12) X-AuthUser: pedz+easesoftware.com@mi3-ss4.a2hosting.com Received-SPF: pass client-ip=23.83.212.47; envelope-from=pedz@easesoftware.com; helo=cyan.elm.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 20 Nov 2022 15:11:01 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141069 Archived-At: --Apple-Mail=_F18AA0E9-3BA8-493F-B983-1A8F56EDFB44 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I do a grep and get some results into the *grep* buffer. The hits = happen to be in Org mode files if that matters. I do C-X ` and it takes 5 seconds to bring up the buffer. A next C-X ` = are in the same file and are instant. But the one that has to open a = different file again takes 4 to 5 seconds. This by itself doesn=E2=80=99t bother me that much. But I=E2=80=99m = actually chasing weird problems and I=E2=80=99m wondering if this is = connected to it or not. The weird problems are with lsp-mode using a package called = lsp-tailwindcss. It is suppose to pop up completion suggestions. Every = once in a VERY great while, it does. But usually it does not. I can = pause and not enter any keys for a minute and no suggestions pop up. I = have company-minimum-prefix-length set to 1 and company-idle-delay set to = 0.0. If I set the idle time to 0.5 and prefix length to 2, the = completions pop up but I have to sit for about 2 seconds before anything = pops up. So=E2=80=A6 I=E2=80=99m theorizing that I=E2=80=99ve got something = wasting time or is horribly inefficient but I have no idea how to track = it down. I=E2=80=99m on one of Apple=E2=80=99s best / latest laptops so I believe = I have plenty of horsepower and the CPU stats are close to 0. Thank you for your time, Perry Smith p.s. I am subscribed to this list but I do not receive any emails so = please CC me on your replies. I will also track down this in the = archive in a few days. --Apple-Mail=_F18AA0E9-3BA8-493F-B983-1A8F56EDFB44 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5yOa/gCtQpb3oCpljxzk9yzE+MAFAmN6NuAACgkQjxzk9yzE +MB4dA/+LUjp+7Nqtn2lSCMIHpdEGVVNMcO2Mq8rZ/pe5oyR/ayJPtlB6mp1WjZr KukUlwa0/1CsrxDIsXBU6CBz1g0MioPMbqCDxfWplbOd/HJ4rrhKeCBXOQ5DGJp0 zO596JdHR1Sr/yJnm7ippzrWb7T681dqQNTc2gTw8hkJUeDXMhzfmumGIP+eqNKn OAy4PFStRc+t7vMhi021CYyPEKCPNy8UjIGYysBtvQXf/GpaoKGKIVFHWrm6Ntcc ZVsODlgx6q9DaoNN6CO4JSrbaY/xWGidgDVhtnKjCsr87+vsXvIztAKFK5LYc+uK 74AHSQeXibfNNeKFZB2knGeO/ZPljtOO7nj3MnIQcdlirQeRHRJ7W23Q4HVkktqA W/yOG/NycLs0XjxWEnj4ZrbNkDtFCw3r/MFX4eGWXRuEm3ynBud9dgwfwTSAMs2L bcK7nD2dnBpy3qb0wXU6jLCXAIi4GQHrvKJXC8BJbCB9S4I03IceQMihas+SEKXA PRWJVHSV7VFjC/gizLkF1CR9BIuxlSLenw3ozhtS939ijkQQSUOtsl5z3tVFP4FC eZncfeP4kWT+W/jA+6OTxCk2ENvwI8wTNdt0EABQN/OSY10lbJ69hryo4Z7gDROR z7N74b9r5wnMYISF4Mdqe54OPMeX993oknlFpoYgrnddOwj8N14= =/YYm -----END PGP SIGNATURE----- --Apple-Mail=_F18AA0E9-3BA8-493F-B983-1A8F56EDFB44--