I had performance issues with LSP mode, especially with Typescript.
See https://emacs-lsp.github.io/lsp-mode/page/performance/ for suggestions.
I increased the
read-process-output-max to 3mb and that seemed to help.
I was already using emacs v28, so I just rebuild it with native comp. There was some pain making the transition, but it completely solved the performance issues.