https://bugzilla.wikimedia.org/show_bug.cgi?id=19262

MZMcBride <b...@mzmcbride.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b...@mzmcbride.com
            Summary|large pages with a lot of   |Large pages with a high
                   |links still slow            |number of particular
                   |                            |templates have unacceptably
                   |                            |slow rendering time for
                   |                            |logged in users

--- Comment #2 from MZMcBride <b...@mzmcbride.com> 2011-01-14 23:23:14 UTC ---
I don't believe this problem is related to the number of links. I believe it is
due to the number of instances of particular templates such as [[Template:Cite
book]]. A simple test should be sufficient to demonstrate this.

If I copy the current text of [[List of chess books, A-L]]] (oldid:
<http://en.wikipedia.org/w/index.php?oldid=407667664>) into a sandbox, it takes
approximately 39.5 seconds to render according to the page source ("<!-- Served
by srv195 in 39.529 secs. -->"), using ?action=purge
(<http://en.wikipedia.org/w/index.php?oldid=407920835&action=purge>) while
logged in.

If I take the same text, put it through [[Special:ExpandTemplates]] and save it
to my sandbox, it takes approximately 5.3 seconds to render according to the
page source ("<!-- Served by srv273 in 5.353 secs. -->"), using ?action=purge
(<http://en.wikipedia.org/w/index.php?oldid=407924303&action=purge>) while
logged in.

Special:ExpandTemplates, of course, full expands the templates, their
ParserFunctions parser functions, and other magic word variables, while leaving
the links. This makes it fairly clear that it is not the number of links that
is to blame for the slow rendering time, but is instead the number of instances
of particular templates.

I'm updating the bug summary from "large pages with a lot of links still slow"
to "Large pages with a high number of particular templates have unacceptably
slow rendering time for logged in users" accordingly.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to