aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2019-11-22 16:23:22 +0100
committerTom de Vries <tdevries@suse.de>2019-11-22 16:23:22 +0100
commitf618007364b84739f6f8663c1c634fb47bbc6732 (patch)
tree4dfbe469ad42899ca74f716c9195394457a70345 /gdb/ChangeLog
parent8b301fbb6114faba4e95e24e3a1c3108f64885c6 (diff)
downloadgdb-f618007364b84739f6f8663c1c634fb47bbc6732.zip
gdb-f618007364b84739f6f8663c1c634fb47bbc6732.tar.gz
gdb-f618007364b84739f6f8663c1c634fb47bbc6732.tar.bz2
[gdb/contrib] Combine sed invocations in words.sh script
Currently running words.sh on all the c source and header files in the repo takes ~16s in user time: ... $ time ./gdb/contrib/words.sh \ $(find -type f -name "*.c" -o -name "*.h") \ >/dev/null real 0m7,787s user 0m16,349s sys 0m0,367s ... Rewrite the sed invocations using the -e option from this: ... | sed <sedprog1> | sed <sedprog2> ... into this: ... | sed \ -e <sedprog1> -e <sedprog2> ... and reduce user time to ~11s: ... $ time ./gdb/contrib/words.sh \ $(find -type f -name "*.c" -o -name "*.h") \ >/dev/null real 0m7,243s user 0m11,220s sys 0m0,205s ... gdb/ChangeLog: 2019-11-22 Tom de Vries <tdevries@suse.de> * contrib/words.sh: Combine sed invocations. Change-Id: Ib08453f3712f32ed02d9f503ee960711ebb9421b
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 81c6690..25c63c7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2019-11-22 Tom de Vries <tdevries@suse.de>
+
+ * contrib/words.sh: Combine sed invocations.
+
2019-11-21 Christian Biesinger <cbiesinger@google.com>
* Makefile.in: Update.