8c8407fe45
simplebench/bench-backup: add --drop-caches argument
...
Add an option to drop caches before each test run. It may probably
improve reliability of results when testing in cached mode.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
2021-05-04 11:37:26 +03:00
27eacb390e
simplebench: bench_one(): support count=1
...
statistics.stdev raises if sequence length is less than two. Support
that case by hand.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Reviewed-by: John Snow <jsnow@redhat.com >
2021-05-04 11:37:26 +03:00
dab346986e
simplebench: bench_one(): add slow_limit argument
...
Sometimes one of cells in a testing table runs too slow. And we really
don't want to wait so long. Limit number of runs in this case.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
2021-05-04 11:37:26 +03:00
8e979febb0
simplebench: move results_to_text() into separate file
...
Let's keep view part in separate: this way it's better to improve it in
the following commits.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Message-Id: <20201021145859.11201-18-vsementsov@virtuozzo.com >
Reviewed-by: Max Reitz <mreitz@redhat.com >
Signed-off-by: Max Reitz <mreitz@redhat.com >
2020-12-18 12:35:55 +01:00
bfccfa62ac
simplebench: rename ascii() to results_to_text()
...
Next patch will use utf8 plus-minus symbol, let's use more generic (and
more readable) name.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Message-Id: <20201021145859.11201-17-vsementsov@virtuozzo.com >
Reviewed-by: Max Reitz <mreitz@redhat.com >
Signed-off-by: Max Reitz <mreitz@redhat.com >
2020-12-18 12:35:55 +01:00
f52e1af0b0
scripts/simplebench: use standard deviation for +- error
...
Standard deviation is more usual to see after +- than current maximum
of deviations.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Message-Id: <20201021145859.11201-16-vsementsov@virtuozzo.com >
Reviewed-by: Max Reitz <mreitz@redhat.com >
Signed-off-by: Max Reitz <mreitz@redhat.com >
2020-12-18 12:35:55 +01:00
4a44554a65
scripts/simplebench: support iops
...
Support benchmarks returning not seconds but iops. We'll use it for
further new test.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Message-Id: <20201021145859.11201-15-vsementsov@virtuozzo.com >
Reviewed-by: Max Reitz <mreitz@redhat.com >
Signed-off-by: Max Reitz <mreitz@redhat.com >
2020-12-18 12:35:55 +01:00
270124e7ef
scripts/simplebench: fix grammar: s/successed/succeeded/
...
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Message-Id: <20201021145859.11201-14-vsementsov@virtuozzo.com >
Reviewed-by: Max Reitz <mreitz@redhat.com >
Signed-off-by: Max Reitz <mreitz@redhat.com >
2020-12-18 12:35:55 +01:00
7cc8e0a545
scripts/simplebench: add simplebench.py
...
Add simple benchmark table creator.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com >
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com >
Message-Id: <20200228071914.11746-2-vsementsov@virtuozzo.com >
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com >
2020-03-17 21:09:26 -04:00