From: Antoine Musso Date: Thu, 30 May 2013 07:38:48 +0000 (+0200) Subject: benchmarks: README file having run recommendations X-Git-Tag: 1.31.0-rc.0~19336^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=4d7428089129355fb21e35718c8cd5148370bf3b;p=lhc%2Fweb%2Fwiklou.git benchmarks: README file having run recommendations In a wikitech thread about benchmarking, Tim Starling has been running benchmarks using CPU binding and raised priority. This patch copy paste Tim recommendations so we do not forget about them. Change-Id: Ic6f2803c005f70a2f0400f28fafc3c8d209e0667 --- diff --git a/maintenance/benchmarks/README b/maintenance/benchmarks/README new file mode 100644 index 0000000000..c021abd293 --- /dev/null +++ b/maintenance/benchmarks/README @@ -0,0 +1,7 @@ +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