Menu

#2 DOM buffering for chat.js

closed
None
5
2012-09-20
2009-03-11
Varamin
No

This is a patch for version 0.8.2 that adds DOM buffering. This speeds up certain operations considerably (several hundredfold), especially initial loading of messages, when the chat is configured with many lines of scrollback.

This patch is related to feature request 2335048
"Speed up chat loading when many lines of scrollback enabled"
https://sourceforge.net/tracker/index.php?func=detail&aid=2335048&group_id=214758&atid=1030957

Discussion

  • Varamin

    Varamin - 2009-03-11

    DOM buffering patch for AJAX Chat 0.8.2

     
  • Philip Nicolcev

    Philip Nicolcev - 2009-05-30
    • assigned_to: nobody --> frug
     
  • Philip Nicolcev

    Philip Nicolcev - 2009-05-30

    Okay I implemented this locally and I'm putting it into the SVN. I noticed a missing semicolon on the last change btw.

    Needs some testing cause I can't tell any speed changes locally. However one place I'm sure this will be a huge help is the log viewer, which is slow as heck without it.

    0.8.3 will be out within a week or two with this if all goes well.

     
  • Philip Nicolcev

    Philip Nicolcev - 2009-05-30

    Mkay only thing I've noticed is that it doesn't properly alternate the row classes between odd and even anymore when it updates multiple lines. Even if that never gets fixed it's worth the speed improvement.

     
  • Philip Nicolcev

    Philip Nicolcev - 2009-06-25

    Problem fixed and patch added to the SVN.

     
  • Philip Nicolcev

    Philip Nicolcev - 2012-09-20
    • status: open --> closed
     

Log in to post a comment.