From dea11c5ba2aa7082dde57b09cf3f26214abd009c Mon Sep 17 00:00:00 2001 From: LalehB Date: Tue, 16 Sep 2014 13:27:41 -0700 Subject: [PATCH 1/2] Update README.md --- tests/power/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/power/README.md b/tests/power/README.md index b649a92a60a..dcacb92f0ce 100644 --- a/tests/power/README.md +++ b/tests/power/README.md @@ -5,12 +5,12 @@ This script uses PowerMetrics to measure power usage of Servo on OS X ## Running ``` sh -cd servo/test/power +cd servo/tests/power sudo python PowerMeasure.py ``` You can define the maximum number of threads in layout level, rendering by cpu, benchmarks and output directory with these command line arguments: -- `-b BENCHMARK, --benchmark BENCHMARK` sets the benchmark, for example "-B perf-rainbow.html" +- `-b BENCHMARK, --benchmark BENCHMARK` sets the benchmark, for example '-B "perf-rainbow.html"' - `-c CPU, --CPU CPU` renders with CPU instead of GPU - `-l LAYOUTTHREADS, --LayoutThreads LAYOUTTHREADS` sets the maximum number of threads for layout, for example " -L 5" - `-o OUTPUT, --Output OUTPUT` specifyes the output directory @@ -20,5 +20,5 @@ You can define the maximum number of threads in layout level, rendering by cpu, This command will measure power and performance for 1 to 5 threads in layout with CPU rendering when we are running the about-mozilla.html benchmark ``` sh -sudo python PowerMeasure.py -L 5 -c cpu -b /Desktop/servo/src/test/html/about-mozilla.html -o /Desktop/Results/ +sudo python PowerMeasure.py -L 5 -c cpu -b "/Desktop/servo/src/test/html/about-mozilla.html -o /Desktop/Results/" ``` From 5dcce000e52f46c6a4b05f2910c35e158c7c9f9a Mon Sep 17 00:00:00 2001 From: LalehB Date: Tue, 16 Sep 2014 14:04:16 -0700 Subject: [PATCH 2/2] Update README.md --- tests/power/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/power/README.md b/tests/power/README.md index dcacb92f0ce..9077205dbf6 100644 --- a/tests/power/README.md +++ b/tests/power/README.md @@ -20,5 +20,5 @@ You can define the maximum number of threads in layout level, rendering by cpu, This command will measure power and performance for 1 to 5 threads in layout with CPU rendering when we are running the about-mozilla.html benchmark ``` sh -sudo python PowerMeasure.py -L 5 -c cpu -b "/Desktop/servo/src/test/html/about-mozilla.html -o /Desktop/Results/" +sudo python PowerMeasure.py -L 5 -c cpu -b "/Desktop/servo/src/test/html/about-mozilla.html" -o /Desktop/Results/ ```