If you're on a Mac, which I'm guessing, and, if by chance you are using this build
https://emacsformacosx.com/, I highly suggest that you try this one instead
https://github.com/jimeh/emacs-builds/releases/tag/Emacs-29.4. It is much, much faster and exhibits correct behavior with code that previously misbehaved and has a few patches applied that correct some GUI features (internal-border colors, for example). I've been using the jimeh build successfully for a while now after much frustration of my own this summer. Pretty much all resolved and I have a lot of customizations. On gotcha is that the jimeh build directly packages the gcc support needed for native packages which is great BUT it is missing one component during trampoline bootstrap (jimeh is aware) so start it once from the command line and let it "warm up," and assuming you have gcc somewhere on your path (via homebrew or somewhere else), thereafter it's fine launched from Spotlight or wherever.
I noticed the following in what might be your init.el, though not directly performance related, just FYI:
;; Make native compilation silent and prune its cache.
(when (native-comp-available-p)
(setq native-comp-async-report-warnings-errors 'silent)
(setq native-compile-prune-cache t)) ; <-- this is a function not a variable
Take some care with your mode-line entries such as display-battery-mode as I believe it will get queried during every mode-line refresh.
Also take some care with post-command-hook. Check to see what's on the hook is what you need and nothing more. These get called after every character you type (as Eli explained, they're all implemented via commands, though the main "hot path" commands are in C, as you'd expect). Run M-x list-timers and see if there are any timers running very frequently on short intervals that you didn't expect.
I took a quick peek to see if you'd experience issues with some of the caching challenges using project.el, tramp, etc. and nothing jumped out at me. If there were calls to project-current / project-name on your mode-line or tab-bar customizations, those could get in the way.
We're all in the same boat and happy to help. I speak for everyone as I've observed the sheer amount of consideration, work, and thoughtful feedback that goes into Emacs as a platform on a continual basis.