Skip to contentSkip to conversation

devtools: speed up maintainers check

PATCH Applied Thomas Monjalon 1 participant 2 messages Jul 15, 2017 – Aug 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devtools: speed up maintainers check

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.

---
 devtools/check-maintainers.sh | 3 +++
 1 file changed, 3 insertions(+)
devtools/check-maintainers.sh +3 -0
index 69c879a82..ac5326b8b 100755
@@ -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> ...]
 {
Signature · 1 line
2.13.2
author Applied
#1 lore raw

15/07/2017 11:49, Thomas Monjalon:

Quoted 5 lines

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.

Applied