diff options
author | Ciprian Barbu <ciprian.barbu@linaro.org> | 2013-09-06 18:07:16 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2013-09-06 20:25:11 +0300 |
commit | 18563b72f63b98dcd41473b1e25c2cf4f5abe488 (patch) | |
tree | 959fdab5be9cb10ab769f2b05a22db081d6ebeaf /openembedded/hackbench.yaml | |
parent | 99a752a95ed9870ecda40f6550c12952d3963f98 (diff) |
hackbench: update measurements
modified the hackbench test suite to run a fixed number of iterations
and added a script called dd_infinite.sh that does the dd part. This is
useful for having relevant measurements, since in idle the performance is
usually good. The results are gathered by hackbench_parse.py which outputs
4 measurements, minimum value, maximum, average and median.
tested on validation.linaro.org, results can be found at
http://validation.linaro.org/scheduler/job/71437
Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org>
Acked-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'openembedded/hackbench.yaml')
-rw-r--r-- | openembedded/hackbench.yaml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/openembedded/hackbench.yaml b/openembedded/hackbench.yaml index 23ce427..5dfaefc 100644 --- a/openembedded/hackbench.yaml +++ b/openembedded/hackbench.yaml @@ -6,9 +6,11 @@ metadata: run: steps: - - while true; do dd if=/dev/zero of=bigfile bs=1024000 count=1024; done & - - while true; do killall hackbench; sleep 5; done & - - while true; do hackbench 20; done & + - ./openembedded/scripts/dd_infinite.sh &> /dev/null & + - while true; do sleep 5; killall hackbench; done & + - for i in {1..1001}; do hackbench | tee -a hackbench_res.txt; done + - ./openembedded/scripts/hackbench_parse.py hackbench_res.txt + - killall dd_infinite.sh parse: - pattern: "^(Time:[\\w/\\.]+):\\s+(?P<message>.+)\\.\\.\\.\\s+(?P<result>\\w+)" + pattern: '^(?P<test_case_id>\w+):\s+(?P<measurement>\d+(\.\d+)?)\s+(?P<units>\S+)\s+(?P<result>\w+)' |