Do you know what makes it freeze? My gut would be that they did not set a buffer with a sentinel, such that even with threading, they would have still don't a blocking call there.
That said, valid points. I am curious to benchmark parts of emacs now. (I turned off most programming features, since most of my code is remote and the network at home kills me.)
Re:Emacs 27.2
by chriswarbo on Friday March 26, 2021 @04:54PM
(#26596818)
> Do you know what makes it freeze?
For Gnus it was using the built-in fetchers like nnrss, which would block the Emacs process until downloads finished. Using a cron job to fetch RSS feeds avoided this, but it would still take a while to check for updates even from local files. This was around 2012, so Gnus might have improved since.
FYI my current setup is described at http://chriswarbo.net/blog/2017-01-14-rss_to_maildir.html
I would guess Eww would have a similar issue, although I've never been able to get it to work (I use emacs-w3m, which has a separate process).
I've found some programming modes to be very slow and prone to freezing; most noticably Scala using Metals (which uses lsp).