On Fri, 19 Feb 2021 16:53:21 +0100
Peter Krempa wrote:
> Invoking the XML parser every time is quite expensive. Since we have a
> deep copy function for 'virQEMUCapsPtr' object, we can cache the
> parsed results lazily.
>
> This brings significant speedup to qemuxml2argvtest:
>
> real 0m2.234s
Invoking the XML parser every time is quite expensive. Since we have a
deep copy function for 'virQEMUCapsPtr' object, we can cache the parsed
results lazily.
This brings significant speedup to qemuxml2argvtest:
real0m2.234s
user0m2.140s
sys 0m0.089s
vs.
real0m1.161s
user0m1