Manual:BenchmarkParse.php/de

MediaWiki Version:
1.23
Category:MediaWiki code/de#BenchmarkParse.php

Details

benchmarkParse.php file is a maintenance script to benchmark how long it takes to parse a given title at an optionally specified timestamp.

Optionen/Argumente

Option/ArgumentBeschreibungNotwendig?
titleDer Name der Seite, die geparst werden sollNotwendig
--warmupRepeat the parse operation this number of times to warm the cacheOptional
--loopsNumber of times to repeat parse operation post-warmupOptional
--page-timeUse the version of the page which was current at the given timeOptional
--tpl-timeUse templates which were current at the given time (except that moves and deletes are not handled properly)Optional
--reset-linkcacheSetzt den LinkCache nach jeden Parse zurück.Optional

Verwendung

php maintenance/run.php benchmarks/benchmarkParse title [ --warmup| --loops| --page-time| --tpl-time| --reset-linkcache ]
Terminal
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Obama-Test

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"

Siehe auch

Category:Performance development/de Category:Maintenance scripts/de Category:Benchmark maintenance scripts/de
Category:Benchmark maintenance scripts/de Category:Maintenance scripts/de Category:MediaWiki code/de Category:Performance development/de