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

Peter Krempa posted 4 patches 3 years, 2 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1613749935.git.pkrempa@redhat.com
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(-)
[PATCH 0/4] qemuxml2*test: Significantly improve performance by caching qemu capabilities and qapi schema
Posted by Peter Krempa 3 years, 2 months ago
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