We have a few large files (the largest is about 1.5 megabytes) that cause
reviewboard to take a long time to display. I've narrowed it down to the
differ code (everything else just takes less than a second). Has anyone
looked at the differ performance, or have any hints what to look at? It
takes about 15 seconds to process that larger file which seems a little on
the slow side (especially compared to gnu diff which takes less than a
second to process the same file).
On a similar issue, when looking at the comments, it appears to run diff
on the same file multiple times if multiple users comment on the same
file. I haven't looked at this part of the code very closely yet, but I'm
wondering if there would be some way to cache the results.
Thanks,
-Eric