From 4d7428089129355fb21e35718c8cd5148370bf3b Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Thu, 30 May 2013 09:38:48 +0200 Subject: [PATCH] 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 --- maintenance/benchmarks/README | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 maintenance/benchmarks/README 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 -- 2.20.1