Template:Slow/doc

From DynamicPageList3 Manual
Revision as of 04:36, 29 March 2022 by imported>FrozenPlum (Fix inconsistent doc format)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

Used to denote expensive functions that can cause performance issues.

Background

This template was written by wikia:User:Maiden_taiwan after the DPL createdby keyword hurt performance on his MediaWiki system significantly. On a MediaWiki site with 100,000 articles and 3,000 users, this DPL took 2.5 minutes to run:

<dpl>
namespace=
createdby=someuser
</dpl>

People were making these DPL calls all the time to find out what articles they had created. When two of these ran at once, it significantly hurt wiki performance.