On Fri, 13 Mar 2020, Michael Orlitzky wrote:

I get similar results here, bash adds about a second. With large scripts
the improvement is lost in the noise, but it's still a free lunch.

When using a parallel compile on a modern multi-core system, I find that from-scratch build timing (for GraphicsMagick, which is mostly C code) is dominated in this order:

 1) configure
 2) linker
 3) compilation

Linker time depends on the linker used.

The associated test suite takes longer to run than building the software.

It is amazing how compiling is not necessary the slowest part any more.

Given C++ code with lots of templates, compiling is still surely the bottleneck.

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt

Reply via email to