[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 0/3] scripts/simplebench: add bench_write_req.py test

From: Andrey Shinkevich
Subject: [PATCH v3 0/3] scripts/simplebench: add bench_write_req.py test
Date: Sun, 12 Jul 2020 20:17:11 +0300

The script 'bench_write_req.py' allows comparing performances of write request 
for two
qemu-img binary files. If you made a change in QEMU code and want to check the 
requests performance, you will want to build two qemu-img binary files with and 
your change. Then you specify paths to those binary files and put them as 
parameters to
the bench_write_req.py script. You may see other supported parameters in the 
USAGE help.

v3: Based on the Vladimir's review
  01: The test results were amended in the patch description.
  02: The python format string syntax changed to the newer one f''.
  03: The 'empty_disk' test parameter fixed to True.
  04: The function bench_write_req() was supplied with commentary.
  05: The subprocess.call() was replaced with subprocess.run().
  06: The exception handling was improved.
  07: The v2 only patch was split into three in the series.

Andrey Shinkevich (3):
  scripts/simplebench: compare write request performance
  scripts/simplebench: allow writing to non-empty image
  scripts/simplebench: add unaligned data case to bench_write_req

 scripts/simplebench/bench_write_req.py | 206 +++++++++++++++++++++++++++++++++
 1 file changed, 206 insertions(+)
 create mode 100755 scripts/simplebench/bench_write_req.py


reply via email to

[Prev in Thread] Current Thread [Next in Thread]