all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Spencer Baugh <sbaugh@janestreet.com>
Cc: app-emacs-dev@janestreet.com, 73442@debbugs.gnu.org
Subject: bug#73442: 29.2.50; mouse-fixup-help-message is very slow with a slow X connection
Date: Mon, 23 Sep 2024 19:00:39 +0300	[thread overview]
Message-ID: <86frpqfjh4.fsf@gnu.org> (raw)
In-Reply-To: <iery13iv1uy.fsf@janestreet.com> (bug-gnu-emacs@gnu.org)

> Cc: app-emacs-dev@janestreet.com
> Date: Mon, 23 Sep 2024 11:14:29 -0400
> From:  Spencer Baugh via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 
> I unfortunately don't have a reliable recipe to reproduce this, but:
> 
> 1. Have a slow X connection, e.g. through ssh -X
> 2. emacs -Q
> 3. Move the mouse over links with help messages mentioning mouse-2
> 4. Experience terrible lag as the mouse moves
> 
> I narrowed this down to mouse-fixup-help-message with some profiling,
> and (defalias mouse-fixup-help-message #'identity) stops the lag.
> 
> I'm not sure why it's so slow.  Maybe posn-at-x-y is particularly slow?

Please profile with perf, so we know what part is slow.

Thanks.





      reply	other threads:[~2024-09-23 16:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-23 15:14 bug#73442: 29.2.50; mouse-fixup-help-message is very slow with a slow X connection Spencer Baugh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-23 16:00 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86frpqfjh4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=73442@debbugs.gnu.org \
    --cc=app-emacs-dev@janestreet.com \
    --cc=sbaugh@janestreet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.