On my local machine, “./pants list ::” in Twitter’...
# development
b
On my local machine, “./pants list ::” in Twitter’s internal repo on a warm case takes around 36s, if I remove these 4 lines: https://github.com/pantsbuild/pants/blob/master/src/python/pants/bin/engine_initializer.py#L86-L89, the same command on a warm case takes roughly 6-8s less. I think these lines are kinda redundant, since we are doing the same thing here: https://github.com/pantsbuild/pants/blob/master/src/python/pants/bin/goal_runner.py#L146-L160. But I haven’t run a full CI on it yet. @witty-crayon-22786 If we have targets in ProductGraph, a second inject_specs_closure will still go to PG for targets, but it should be cached and resulting a noop, right?