On Mon, Aug 16, 2004 at 08:29:39PM +0200, Magnus Manske
wrote:
Brion Vibber wrote:
Ivan Krstic wrote:
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?
Ah, you noticed it's kind of slow? :)
<snip>depressing time statistic</snip>
If there ever was need for a C++ parser... ;-)
Well, OutputPage::replaceLinkHolders is not part of the parser.
It's the replacing of wikilinks by HTML links, which, if I
understand your concept correctly, would be done during the
XML->XHTML translation, in PHP.
Yup, that function's new (didn't see it a few days ago). Seems the most
time is spent in database queries. Not much to do about that except
caching, which we do. We could collect the links to use one big query
instead of several ones, maybe?
Magnus