[PATCH 0/4] Speed up hvsupport.pl

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

 



This reduces the script execution time from 14.7s to 60 ms.
Since this was by far the longest taking target from the docs/ directory
and make does not parallelize across Makefiles, the savings are similar
for a complete build from a fresh git checkout.

The second patch shaves off 8.2s, the third 6.4s and the last one shaves
off half of the remaining time.

Ján Tomko (4):
  hvsupport: Introduce parseSymsFile
  hvsupport: drop XML::XPath
  hvsupport: construct regex up front
  hvsupport: skip non-matching lines early

 bootstrap.conf    |   1 -
 docs/hvsupport.pl | 218 +++++++++++++++++++++---------------------------------
 2 files changed, 85 insertions(+), 134 deletions(-)

-- 
2.7.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]