GNOME Bugzilla – Bug 786610
Review: Browser hangs with files with a few thousand lines
Last modified: 2017-08-25 21:58:40 UTC
Created attachment 358146 [details] stuff breaking We have a few extensions that are quite complex with some files going up to a few thousand lines of code. Trying to review those, the UI in the browser hangs when switching to that specific diff. It's basically impossible to do any reviews when some of them take upwards of half an hour to wait for a page to finish rendering. And the queue just doesn't get smaller :(
What browser do you using? Time++ review open quite fast with latest Chromium. However this is for sure browser and CPU/mem dependent.
Ah, I see that todo.js is big enough to hang UI. I will work around this issue soon.
I rewritten most slowest parts of diff.js in commit c05512af20, so it should be much faster now. todo.js diff (in reported review) now opens within 1.15 sec at my PC. If you find some slow diffs please report them.