|
The results from running the test via the run_tests.sh script are not
yet formatted the way this gnuplot script needs them to be, but when
formatted so, this script can be used to draw the bar graphs.
My knowledge on gnuplot is elementary; just about 1h worth of searching
and reading the demo files and this is a modified script I picked up
from the gnuplot website. More customisations are surely possible, like
piping the resulting image to image processors and dumping a png
directly instead of 'copy to clipboard'->paste in gimp->save.
The run_results.txt file that this script parses should look like this:
filesystem posix-fallocate mmap chunk-4096 chunk-8192 posix-fallocate mmap chunk-4096 chunk-8192
ext2 74 96 761 81 33 37 37 36
ext3-writeback 87 97 202 93 34 40 39 36
The first set of 4 columns contains seconds; the 2nd set contains fragments.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
|