Template:Slow/doc: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
(+TR)
imported>FrozenPlum
m (Fix inconsistent doc format)
 
(One intermediate revision by the same user not shown)
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.