Menu

#505 Jush performance causes lag on large queries

Git
closed-out-of-date
nobody
None
5
2017-02-21
2016-06-13
J V
No

On large queries jush will drop performance like a rock. Each keypress in a textarea can end up taking 10 seconds on a programatically generated query.

Suggestions:

  • Stop highlighting if the text length goes over ~2k characters
  • Change jush to only look for changes near the cursor
  • Use something like setinterval to keep the UI responding while jush calculates the correct output (And cancel and restart the calculation on input)
  • "Just make it faster" (As quoted most technophobes)

Discussion

  • Jakub Vrána

    Jakub Vrána - 2017-02-21
    • status: open --> closed-out-of-date
     
  • Jakub Vrána

    Jakub Vrána - 2017-02-21

    JUSH stops highlighting for input longer than 10 000 characters.

     

Log in to post a comment.

MongoDB Logo MongoDB