Template:Slow/doc: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
imported>FrozenPlum
m (2 revisions imported: Imported from help.fandom.com, Extension:DPL3 pages, which are for the obsolete version of DPL3 extension for MediaWiki 1.33, to adapt to forked (newer) extension version.)
imported>FrozenPlum
m (Fix inconsistent doc format)
 
Line 1: Line 1:
{{Documentation subpage}}
{{doc/start}}
<!-- Documentation here -->
Used to denote expensive functions that can cause performance issues.

== Background ==
== Background ==
This template was written by [[User:Maiden_taiwan]] after the DPL <code>createdby</code> 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:
This template was written by [[wikia:User:Maiden_taiwan]] after the DPL <code>createdby</code> 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:


<pre>
<pre>
Line 12: Line 15:
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.
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.


<includeonly>
<noinclude>
<!-- Template categories/interwikis here -->
[[tr:Şablon:Yavaş/belge]]
[[Category:Templates]]
</noinclude>
</includeonly>
{{doc/end}}

Latest revision as of 04:36, 29 March 2022

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.