[PATCH 0/4] qemuxml2*test: Significantly improve performance by caching qemu capabilities and qapi schema

Peter Krempa pkrempa at redhat.com
Fri Feb 19 15:53:17 UTC 2021


This results in 1/3 of the original execution time.

Peter Krempa (4):
  qemuxml2argvtest: Cache QAPI schema between tests
  testCompareXMLToArgvValidateSchema: Improve and fix helper for testing
    everything
  testQemuInfoSetArgs: Use curly braces in else section
  qemu*xml2*test: Cache capabilities between tests

 tests/qemustatusxml2xmltest.c |  3 ++-
 tests/qemuxml2argvtest.c      | 26 +++++++++++++++++++-------
 tests/qemuxml2xmltest.c       |  3 ++-
 tests/testutilsqemu.c         | 24 +++++++++++++++++++-----
 tests/testutilsqemu.h         |  2 ++
 5 files changed, 44 insertions(+), 14 deletions(-)

-- 
2.29.2




More information about the libvir-list mailing list