Manual:benchmarkParse.php
From MediaWiki.org
MediaWiki file : benchmarkParse.php | |
---|---|
Location: | maintenance/benchmarks/ |
Source code: | master • 1.26.2 • 1.25.5 |
Classes: | BenchmarkParse |
Details[edit | edit source]
benchmarkParse.php file is a maintenance script to benchmark how long it takes to parse a given title at an optionally specified timestamp.
Obama test[edit | edit source]
Colloquial name for a quick test of the parsing speed on Wikimedia servers, which uses the infamous Barack Obama article (which used to take 30+ seconds for parsing).
php /usr/local/apache/common/multiversion/MWScript.php maintenance/benchmarks/benchmarkParse.php \
--wiki=enwiki --loops=10 --warmup=10 "Barack Obama"
External links[edit | edit source]
- BenchmarkParse.php source code on MediaWiki master.