Brion Vibber wrote:
Plain page view: 2798ms
Classic diff: 4856ms (2798ms + 2058ms)
Diff with wikidiff: 3342ms (2798ms + 544ms)
That's a very long time. Is there any chance you can post some more
fine-grained timings (perhaps profiling output) for these pages? What of
the three seconds is network latency, what's overhead, and what's parsing?
If this page renders in 1501ms with memcached and the parser cache, then
the machine is either choking under too much load, or something's
horribly wrong. Getting something out of RAM should most certainly not
take a second and a half, and if it does, most of the current
discussions about a new parser should take the form of "we need a new
parser because the current one is ugly", as opposed to "because the
current one is slow".
This is not to say rewriting the parser the Right Way will not enhance
its speed somewhat, but if 1501ms is your minimum baseline, it doesn't
seem like there's too much room for improvement.
Ivan