sureshvv / reviewboard

Automatically exported from code.google.com/p/reviewboard
0 stars 0 forks source link

RB takes way too long to load a large diff across many files #561

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
RB is taking more than fifteen minutes to load a 210K patch in my browser.
 That patch spans 30 files and deals with changing JOIN ... USING to JOIN
... ON and the associated test SQL files that are used to verify that the
changes are valid.  Each conversion results in at least three patches - the
original versus the updated code, the extraction of the original SQL and
the extraction of the updated SQL.

As you can imagine, that makes reviewing this change set very difficult for
the twenty individuals that need to look at it.

If I wanted to try to split the review up, I don't have a way to link
reviews together so comments can be aggregated.

Frankly, at this point, I'd much rather see something like how Bugzilla
reviews are done
(https://bugzilla.mozilla.org/attachment.cgi?id=170464&action=edit)

Original issue reported on code.google.com by kevin.be...@beatport.com on 30 Jul 2008 at 3:46

GoogleCodeExporter commented 9 years ago
The patch itself isn't too big, so the slowdown is likely due to accessing the 
files
from the repository. Once this is done once, it should be cached for a while. 
I'm not
sure why it would be so slow for you. At VMware, we have a thousand engineers 
using
Review Board for patches up to 4MB in size across about 10 repositories and 
aren't
having the slowdown you're seeing.

What cache backend is being used there, and what repository type?

Also, how recent is the server? Some time ago we added support for paginating 
the
diffs so that we only dealt with a certain number of files at a time. It should 
be
helping, so we need to find out why it's not.

Original comment by chip...@gmail.com on 30 Jul 2008 at 4:24

GoogleCodeExporter commented 9 years ago
C - Great questions.  For now, let's just close this bug then and I'll reopen 
if it
proves to be RB.  Thanks :-)

Original comment by kevin.be...@beatport.com on 30 Jul 2008 at 5:23

GoogleCodeExporter commented 9 years ago
Sure thing.

Original comment by trowb...@gmail.com on 30 Jul 2008 at 5:28