Join Slack
Powered by
On my local machine, “./pants list ::” in Twitter’...
# development
b
billowy-beach-68498
10/18/2016, 3:22 PM
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?
Open in Slack
Previous
Next