5 ms·
I actually have an example not long ago. There are some long backend job processing that I want to display the status log, beyond just the progress bar. The l
by ww520 14y ago
I actually have an example not long ago. There are some long backend job processing that I want to display the status log, beyond just the progress bar. The log records are polled in via Ajax. When it got pretty big, like couple hundreds K, Chrome crawled to its knee, freezing hard. I thought it was the DOM updates but it was the Javascript code. Firefox has no problem. I ended up having to re-structure the feature to not showing the whole log.
- aktau 14y agoThe long log problem I experienced as well in Chrome, didn't know it was JS related though, I also assumed the DOM to be culpable!
- ww520 14y agoI commented out the DOM update portion of the code and left just the Javascript code running. It still hung Chrome, so it's Javascript related, at least on Chrome's version of Javascript.