[dpdk-dev] [PATCH] devtools: speed up maintainers check

Thomas Monjalon thomas at monjalon.net
Sat Jul 15 11:49:48 CEST 2017


There is a huge speed improvement when forcing Unicode to be disabled
in this script.
In my test, it is improved from 13s to 6s.

Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
---
 devtools/check-maintainers.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/devtools/check-maintainers.sh b/devtools/check-maintainers.sh
index 69c879a82..ac5326b8b 100755
--- a/devtools/check-maintainers.sh
+++ b/devtools/check-maintainers.sh
@@ -34,6 +34,9 @@
 
 cd $(dirname $0)/..
 
+# speed up by ignoring Unicode details
+export LC_ALL=C
+
 # Get files matching paths with wildcards and / meaning recursing
 files () # <path> [<path> ...]
 {
-- 
2.13.2



More information about the dev mailing list