Menu

#3 Really slows down text entry?

open-accepted
nobody
None
7
2012-01-14
2011-07-20
Jerry
No

Hi, I really like your extension, which added a function that I always wanted on Notepad++, but I've found that it really slows down text entry responsiveness on my computer (core i5). For example, I can type several words before my computer "catches up" and displays them. I find it really painful to use this type of text entry. If I'm typing in other applications like Chrome etc, there is no impact on the display of characters on the screen as I type. If I disable Squiggly in Notepad++, the application shows exactly what I type as I type it, and once I re-enable it, it goes back to "blanking" until there's a long enough pause in my typing before it displays anything. Is there anyway to decrease this delay / performance hit? For example, I'm not sure if it's doing a re-check with every typed character. This would be very inefficient since there should only be a check with a space or punctuation. Right now, it's so bad that I basically turn it off when typing and then re-enable it to spell check.

Discussion

  • Karim Sharif

    Karim Sharif - 2011-07-22

    I would really like to know more about the responsiveness issue. I'm very surprised a core i5 is so slow at responding. There is a known memory leak in the dll, that's attached to the right click / alternatives selection but, it shouldn't show any sort of lag until you've used the right click replace it several hundred times.

    The number of words in a given text document also has an impact, since yes, it does double check every word to ensure you didn't change one by bouncing around with the mouse, instead of just typing at the end of the sentence. That said, the spell checker can check thousands of words in milliseconds, and should never cause you any lag unless were talking the entire works of Shakespeare in a single text file.

    I'm genuinely sorry that it doesn't seem to be working out for you, however keep in mind that I'm a single programmer, working in my spare time, which competes with my free time with my family, so things are not likely to change very fast. If you would like to jump into the code and offer suggestions, or even code patches / diffs. I will gladly look them over and consider applying them in the next release, which I'm working on as we speak... code patches will undoubtedly get you results the fastest.

    Thanks again for your support!

    - Kairm

     
  • Karim Sharif

    Karim Sharif - 2011-07-22
    • priority: 5 --> 7
     
  • Jerry

    Jerry - 2011-07-27

    Hi, I tested it again, and it seems like things really grind to a halt around ~2000 words on my core i5. On my netbook Atom, things are nearly completely unusable w/ even 500 words. It's definitely the plugin because as soon as I disable the "auto check document", everything goes back to normal and becomes responsive again. I really appreciate your work on this plugin and hope that you might be able to think of some solution? Thanks!!

     
  • mhs

    mhs - 2011-09-20

    I can confirm this behaviour on a Intel Core2 Quad Q9550 with Windows 7 x64.
    While typing, does every key stroke result in an invocation of Squiggly, and maybe even Aspell? In that case, how about setting a time threshold, i.e. delaying such invocations until the user hasn't typed for 0.1/1/10 seconds?

    I like your plugin a lot and it would be cool if this issue could be resolved, because unlike any possible missing feature it really keeps me from actually using the plugin.

    Thanks for your work!
    Malte

     
  • Karim Sharif

    Karim Sharif - 2012-01-14
    • status: open --> open-accepted