Issue 439: Server side rendering of patches is too slow to be useful
Status:  Released
Owner:
Closed:  Mar 2012
Project Member Reported by sop@google.com, Feb 8, 2010
Server side rending of patch contents is just too slow to be
useful.  Pages taking >30 seconds to render is unacceptable,
especially if you have more users than you have CPU cores to
execute the server code on.
Feb 13, 2010
#1 sop@google.com
I benchmarked Pygments in Jython against prettify in Rhino.
On the same file, Pygments took ~6000 milliseconds per side,
so 12 seconds to display a side-by-side view.  prettify ran
in about 180 milliseconds per side, or 400 milliseconds for
the entire file.

In both cases the file was a 396 line Java source file.

So Pygments in Jython is pretty bad, performance wise.
Feb 16, 2010
#2 sop@google.com
Fixed by moving it back to the client in Ib70c6526af09f84ebbfe467cfbb27c75ca7c9ad7
Status: Fixed
Labels: -Milestone-2.1.2 FixedIn-2.1.2
Mar 27, 2012
#3 sop@google.com
(No comment was entered for this change.)
Status: Released