wiki.techinc.nl/maintenance/benchmarks
Reedy c7eb28aac9 Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment
Change-Id: I50c7c93f1534e966224f98a835ca01f93eb9416d
2020-05-21 01:06:05 +00:00
..
cssmin
jsmin
tidy
bench_delete_truncate.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
bench_HTTP_HTTPS.php Narrow MediaWiki.Commenting.FunctionComment.WrongStyle 2020-05-20 03:33:39 +01:00
bench_if_switch.php Narrow MediaWiki.Commenting.FunctionComment.WrongStyle 2020-05-20 03:33:39 +01:00
bench_utf8_title_check.php Fix various MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2020-05-21 01:06:05 +00:00
bench_Wikimedia_base_convert.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkCSSMin.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkHooks.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkJavaScriptMinifier.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkJSMinPlus.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkLruHash.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkParse.php Revert "Correct capitalization of BeforeParserFetchTemplateAndTitle hook" 2020-04-30 07:50:24 +10:00
benchmarkPurge.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkSanitizer.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkStringReplacement.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkTidy.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkTitleValue.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
README.md benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00

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.