[PATCH 0/2] Speed up syntax-check

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

 



Remove one inefficient regex not applicable to libvirt codebase
and join non-reentrant functions into a single regex to reduce
the time taken by the two slowest syntax-checks:

4.03 unmarked_diagnostics
4.03 vulnerable_makefile_CVE-2009-4029
4.03 size_of_brackets
4.03 spec_indentation
4.33 require_config_h_first
5.88 prohibit_nonreentrant
7.72 prohibit_undesirable_word_seq

This reduces the overall 'make -j9 syntax-check' time for me
from ~8s to ~4.5s.

Ján Tomko (2):
  cfg.mk: override gnulib's undesirable_word_seq check
  cfg.mk: use a single regex for all non-reentrant functions

 Makefile.nonreentrant |  8 ++++++++
 cfg.mk                | 18 ++++++++----------
 2 files changed, 16 insertions(+), 10 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]