A “I just want no input lag no matter how many packages I install. Its a frigging editor after all!! Is that too much to ask??”

B “Yes. (it’s an OS btw)”

A “Sigh.”

  • TeaTortoise@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Two questions about your situation.

    1. How old is your computer? Does it have a decent amount of both processor speed and RAM?
    2. How large are the files that you have open that are giving you lag?

    I am nowhere near a power user as I use only emacs for Org-Mode but even with a few of my insanely large PIM files (BookNotes.org which contains the notes and highlights to every every nonfiction books I have read in the last 10+ years) I have never encountered any lag in emacs.

  • sunnyata@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    B “Yes. (it’s an OS btw)”

    Haha, I absolutely hate it when people say that.

    A “How can it be an OS if it hasn’t got a scheduler?”

    B “Doesn’t need one, it hasn’t got threads.”

    (I get zero lag myself BTW unless I’m connecting to an LSP server or something like that. Not since I gave up on using it for email anyway.)

  • zoechi@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I didn’t have any such issues since binary compilation became available.

  • xpusostomos@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Unless the package is a mode that’s actually active, I can’t see why packages would cause input lag.

  • camber-weaver@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’ve noticed I have a lot of latency right after startup and the thing which seems to help is a manual garbage collect. That’s bit odd because the last thing I do in my config is set a 5 second timer which is fed a lambda to run a gc after the timer expires. Regardless, I still have better results if I run the gc manually.

    I do load of metric ass ton of packages (and modes) and I recursively parse my Org/Org Roam directory for org-agenda items so I’m doing a lot of questionable things.

    As others have said, sounds like we might both benefit by spending some quality time with the profiler.

    • camber-weaver@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      As a minimal effort first attempts, I just installed XanMod kernel. If that makes a noticeable impact I will loop back here to report.