I “live in Emacs”, like most of us (atleast at work). It has been getting slower release on release, async support doesn’t seem to have been picked up by most packages and native-comp has made it more brittle.
Over this time, we moved from running the OS on hardware to running in VMs, so fractional slowdown was expected. But what I have is a few X slower Emacs. I had never seen Emacs take a minute to indent a few thousand lines, for example. Maybe some modes have slower code.
I appreciate your frustration but several times slower is not normal, something is broken in the environment or setup. I’ve been using Emacs for decades and I would never put up with any kind of slowdown, not to mention several times slower. Yikes.
To make sure that I am not just talking out of my ass I ran elisp-benchmarks between emacs-28 from about 4 years ago and emacs-30. Every benchmark was either faster or unchanged with emacs-30 and overall it was almost twice as fast as emacs-28. Many of these benchmarks are compute heavy but the more interactive ones like elb-scroll and elb-smie were faster too.
I need a fast setup on the same hardware to compare against, but I don’t have it. This is the experience on VMs. I don’t know what is fast for people. I stated one of my observations that indenting a couple of thousand lines is slow. How fast is that for you, in a VM or on hardware?
I don’t have a VM based setup but on my aging laptop:
C-x h C-M-\
varies depending on the language and mode used. For elisp or fennel it’s instantaneous, for Go it’s about 1.5 second.M-x eglot-format-buffer
is instantaneous if a small number of fixes are required or about 1s if every line needs to be touched.Thanks gor the numbers. They don’t make Emacs look unusable, so we could blame these darn cloud-provisioned VMs!