Manual:benchmarkParse.php

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎português • ‎português do Brasil • ‎日本語

Details[edit]

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]

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]