wiki.techinc.nl/maintenance/benchmarks
Kunal Mehta ec0be22116 Update Legoktm's email address
Change-Id: Icd58c93bb0cff5b0a4e7b7f02873a271bab8964f
2021-05-02 05:39:37 +00:00
..
jsmin benchmarks: Add benchmark for JavaScriptMinifier 2018-08-13 18:12:21 +00:00
tidy benchmarks: Add a default to the 'file' option of benchmarkTidy.php 2018-08-13 16:45:44 +00:00
bench_delete_truncate.php Replace uses of DB_MASTER with DB_PRIMARY 2021-04-29 09:24:31 -07:00
bench_HTTP_HTTPS.php Narrow MediaWiki.Commenting.FunctionComment.WrongStyle 2020-05-20 03:33:39 +01:00
bench_if_switch.php phan: Enable redundant_condition_detection 2020-07-01 20:13:07 +00: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
benchmarkHooks.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
benchmarkJSMinPlus.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
benchmarkLruHash.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
benchmarkParse.php parser: new BeforeParserFetchTemplateRevisionRecord hook 2021-02-05 09:37:32 -05:00
benchmarkPurge.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkSanitizer.php maintenance: Mark some closures as static 2021-02-07 02:18:30 +00:00
benchmarkStringReplacement.php benchmarks: Exclude from PHPUnit test coverage 2019-12-18 01:24:42 +00:00
benchmarkTidy.php Introduce Tidy service 2021-03-15 17:22:36 -04:00
benchmarkTitleValue.php Update Legoktm's email address 2021-05-02 05:39:37 +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.