Summary: Poor performance for Intermediate targets.
Submitted by: pauldraper
Submitted on: Thu 13 Jul 2017 04:05:54 AM UTC
Severity: 3 - Normal
Item Group: Enhancement
Assigned to: None
Discussion Lock: Any
Component Version: None
Operating System: Any
Fixed Release: None
Triage Status: None
The first `make` invocation takes <1s. Subsequent invocations take 18s on the
same machine. All of it is spent in make process, not sys calls. This is due
to recursion in the intermediate branch of the `check_dep` function.
I first noticed this when using no-prereq .SECONDARY in a large makefile,
which made everything intermediate.