]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - maintenance/benchmarks/README
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / maintenance / benchmarks / README
diff --git a/maintenance/benchmarks/README b/maintenance/benchmarks/README
new file mode 100644 (file)
index 0000000..27da9de
--- /dev/null
@@ -0,0 +1,10 @@
+This directory hold several benchmarking scripts used as a proof of speed
+or to track PHP performances over time.
+
+To get somehow accurate result, you might want to bound the PHP process
+to a specific CPU with `taskset` and raise its priority with `nice`. Example:
+
+ $ taskset 1 nice -n-10 php bench_wfIsWindows.php
+
+australia-untidy.html.gz contains representative input text for
+benchmarkTidy.php. It needs to be decompressed before use.