Subject: bug#76505: 31.0.50; igc: M-x project-compile is slow

From: Eli Zaretskii <[email-masked]>
Date: Mon, 24 Feb 2025 05:21:29 +0200

> From: Ihor Radchenko <[email-masked]>
> Cc: [email-masked], [email-masked]
> Date: Sun, 23 Feb 2025 19:49:43 +0000
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> Well. Not really. The question why igc branch is _so much slower_
> >> remains. I never experienced such problems on master.
> >
> > Good point.  So please try disabling file notification, but keep the
> > auto-revert thing, and let's see if the hangs return or not.  That
> > will allow us to know whether the notifications or the auto-reverting
> > triggers whatever causes the hangs.
> 
> Doing (setopt auto-revert-use-notify nil) while keeping
> magit-auto-revert-mode enabled also makes the hangs disappear.

Which means file notifications are somehow the trigger.  Maybe it's
the Lisp data they cons?  Or maybe the fact that they are reported to
Emacs via pselect mechanism?