|
|
||
|---|---|---|
| .. | ||
| jsmin | ||
| tidy | ||
| bench_delete_truncate.php | ||
| bench_HTTP_HTTPS.php | ||
| bench_if_switch.php | ||
| bench_utf8_title_check.php | ||
| bench_Wikimedia_base_convert.php | ||
| benchmarkHooks.php | ||
| benchmarkJSMinPlus.php | ||
| benchmarkLruHash.php | ||
| benchmarkParse.php | ||
| benchmarkPurge.php | ||
| benchmarkSanitizer.php | ||
| benchmarkStringReplacement.php | ||
| benchmarkTidy.php | ||
| benchmarkTitleValue.php | ||
| README.md | ||
This directory hold several benchmarking scripts used track performances of MediaWiki and/or PHP.
Consistency
On Linux, use of taskset and nice can help get more consistent results.
For example:
$ taskset 1 nice -n-10 php bench_wfIsWindows.php
Fixtures
- tidy/australia-untidy.html.gz: Representative input text for benchmarkTidy.php. It needs to be decompressed before use.