This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: "make check" times
- From: DJ Delorie <dj at redhat dot com>
- To: "Carlos O'Donell" <carlos at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Fri, 19 Jul 2019 21:31:11 -0400
- Subject: Re: "make check" times
"Carlos O'Donell" <carlos@redhat.com> writes:
> I can't answer your question without knowing how much is 11 seconds
> out of the total time taken.
In this case, it's about a third of "make check" if you don't need to
rebuild/recheck anything (reduces 30 seconds to 19 seconds), but
compared to a full test run (lots of minutes) it's in the noise.
I've been looking at it from a "why does running one test take so long"
viewpoint - when a test takes under a second, but "make check" takes 30
seconds, there's a lot of overhead.
> - We cannot avoid compiling each file.
There are ways of optimizing this, too, though... like better
parallelism.