Skip to content

Input Lag causing 2-3 second delay on keyboard input to response #572

Closed

Description

@anoffvu

Describe the bug
Logseq sometimes gets very slow for typing in content. For me, it usually gets as bad as a constant 100% of all typing has a 2-3 second delay for anything I type until the input is reflected.
Reported by:

To Reproduce
Unsure, but common between popsci and I, we both seem to encounter it after having logseq open for quite some time (hours, overnight, or all day)
Popsci also noticed a very large amount of listeners on keydown events
keydown listeners

Expected behavior
Very fast editing, editing and capture at the speed of thought! :p
(no input lag, at all)

Desktop (please complete the following information):

  • Windows
  • Chrome and Firefox
  • 0.0.4.3

Although, input lag has creeped up at least a few times many versions before

Activity

  1. added this to the milestone on Oct 31, 2020
  2. nikdoof commented on Oct 31, 2020

    @nikdoof

    Listeners increase as you select blocks, just using the up/down arrows to move between blocks on a relatively large page can add hundreds of listeners quickly.

    • Windows 10
    • Edge 86.0.622.51
    • 0.0.4-3
  3. self-assigned this
    on Nov 5, 2020
  4. added
    :type/performance
    on Nov 5, 2020
  5. tiensonqin commented on Nov 7, 2020

    @tiensonqin
    Contributor

    @nikdoof @anoffvu The massive listeners issue should be fixed now. Lmk if you encounter the input lag again.

  6. tiensonqin commented on Nov 8, 2020

    @tiensonqin
    Contributor

    @anoffvu Do you still have this input lag issue? It's weird that I never experienced it although I always leave the logseq tab open.

  7. HaiNguyen007 commented on Nov 17, 2020

    @HaiNguyen007

    maybe because of Chrome extensions; I disable all of them then Logseq fast again after very slow.

  8. HaiNguyen007 commented on Nov 18, 2020

    @HaiNguyen007

    but after about open Logseq tab for 8+ hours, it getting slow again: lag 2-3 seconds (on my Windows 10 PC, 16G Ram, Intel quad cores, Chrome, Logseq 0.0.4.6)

  9. anoffvu commented on Nov 19, 2020

    @anoffvu
    ContributorAuthor

    My input lag issue seems to have subsided and I haven't experienced any lately, but clearly this is still an issue. @HaiNguyen007 What extensions are you using? Maybe we can track down and keep a list of common extensions that might slow down Logseq. Feel free to message privately on our Discord (@andotvu)

  10. removed their assignment
    on Nov 20, 2020
  11. tiensonqin commented on Dec 11, 2020

    @tiensonqin
    Contributor

    It should be fixed now.

  12. Caffa commented on Jan 27, 2022

    @Caffa

    I'm having input lag as described above now...

  13. danmur commented on Feb 11, 2022

    @danmur

    +1, 20-30 seconds sometimes

  14. jefffm commented on Feb 15, 2022

    @jefffm

    +1 not even on a very large page

  15. voidCounter commented on Apr 21, 2022

    @voidCounter

    I am facing the same issue.

  16. danmur commented on Apr 21, 2022

    @danmur

    I retract my +1, my logseq folder had sneakily made it's way into a network drive. It's still pretty annoying and I'd guess it could be fixed but I'm happy to blame windows.

  17. bitburnerz commented on Jun 14, 2022

    @bitburnerz

    Same issue here with Windows desktop app. Lagging for a second when typing, every few seconds. My logseq folder is on a different hard drive, not sure if it's related. I always upgrade to the latest version and this has been happening ever since.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

:type/performanceeditorpriority-A

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions