• Dave Cheney's avatar
    build: reduce the use of subshells in recursive make · 8a8ecda5
    Dave Cheney authored
    Using make -C $* rather than (cd $* ; make) results in a small,
    but measurable improvement in build times where compilation is
    not the major component. eg.
    
    before - ~/go/src/pkg$ time make
            real	0m1.176s
            user	0m0.639s
            sys	0m0.399s
    after - ~/go/src/pkg$ time make
            real	0m0.916s
            user	0m0.571s
            sys	0m0.243s
    
    There are other places in the distribution src/make.common for example
    that could also benefit from this change.
    
    R=adg
    CC=golang-dev, rsc
    https://golang.org/cl/4174055
    8a8ecda5
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...