is it just me, or LSP mode is very slow in emacs?

This page summarizes the projects mentioned and recommended in the original post on /r/emacs

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • corfu

    :desert_island: corfu.el - COmpletion in Region FUnction

  • emacs

    Mirror of GNU Emacs (by emacs-lsp)

  • Without perf profile, it is hard to say. For starters, you may remove lsp-ui. After this: https://emacs-lsp.github.io/lsp-mode/page/performance/ it should be good enough for most use usecases. If you want blazingly fast lsp-mode, you need the LSP Emacs fork https://github.com/emacs-lsp/emacs which is another beast(see https://www.reddit.com/r/emacs/comments/ymrkyn/async_nonblocking_jsonrpc_or_lsp_performance/ as well).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • lsp-bridge

    A blazingly fast LSP client for Emacs

  • emacs

    Mirror of GNU Emacs (by sebastiansturm)

  • there's also a version I regularly rebase on top of Emacs master (https://github.com/sebastiansturm/emacs/tree/json-rpc-30), but as yyoncho said it shouldn't affect font rendering at all. If your previous version of Emacs was sufficiently old though, maybe you ran into the fact that Emacs now (since v28 or so, not sure; https://www.reddit.com/r/emacs/comments/qsd3nm/psa_emacs_now_distinguishes_between_regular_and/) handles regular/medium font weights differently?

  • gcmh

    The Garbage Collector Magic Hack

  • A lot of people use way higher values than 800 KB without any problems. As a matter of fact, I've been using 256 MB for a very long time, haven't noticed any issues with it. So I wouldn't call 1 GB madness, it can be perfectly fine in some cases, especially if one uses gcmh, so it has a high chance that GCs will happen when the user doesn't interact with emacs (I also setup emacs to do GC when emacs loses focus. This means that GC pause is invisible most of the time for me). I strongly prefer very rare, short GC pauses than microstuttering all the time. Also, some operations apply a lot of pressure to the memory system, and do hundreds of GCs with the default setting, so most of the CPU time is spent in the GC when these operations run. Increasing gc-cons-threshold makes such operations much faster which means less pauses.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Looking for help in improving Typescript Eglot, Corfu, Orderless performance

    2 projects | /r/emacs | 8 Jun 2023
  • Lsp Bridge: A blazingly fast LSP client alternative to the original LSP project for Emacs

    2 projects | /r/emacs | 18 May 2023
  • How do I improve Emacs as a Typescript IDE

    2 projects | /r/emacs | 13 May 2023
  • Lsp-Bridge, Not Even Wrong

    3 projects | /r/emacs | 4 Apr 2023
  • Lsp-Bridge Now Support Remote Code Completion

    1 project | /r/emacs | 31 Mar 2023