[dpdk-dev] devtools: speed up maintainers check

Message ID 20170715094948.9826-1-thomas@monjalon.net (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Thomas Monjalon July 15, 2017, 9:49 a.m. UTC
  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@monjalon.net>
---
 devtools/check-maintainers.sh | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

Thomas Monjalon Aug. 3, 2017, 10:42 a.m. UTC | #1
15/07/2017 11:49, Thomas Monjalon:
> 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@monjalon.net>

Applied
  

Patch

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> ...]
 {