]> git.ipfire.org Git - thirdparty/glibc.git/commit
Optimize scripts/merge-test-results.sh
authorDJ Delorie <dj@redhat.com>
Wed, 1 Apr 2020 19:33:00 +0000 (15:33 -0400)
committerDJ Delorie <dj@redhat.com>
Mon, 5 Oct 2020 21:16:03 +0000 (17:16 -0400)
commit78e09591a59fb4cb634cde28089924383151fcfe
tree644fa7b30f447e56f5daccb65d768b803ce94a14
parent19302b27bdacfe87e861ff46fc0fbad60dd6602d
Optimize scripts/merge-test-results.sh

The inner loop is called thousands of times per "make check" even
if there's otherwise nothing to do.  Avoid calling /bin/head all
those times when a builtin will do.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
scripts/merge-test-results.sh