Do you happen to have an app on this list open (https://avarayr.github.io/shamelectron/) ?
There is a bug in Electron caused by the use of a private API that slows down macOS 26 significantly. It’s fixed in Electron but not all Electron apps have updated to the new version yet. Apparently it’s fixed in macOS 26.2