bitter-ability-32190
07/21/2022, 5:00 PMpeek ::
went from real:user 0m17.976s : 1m20.140s
to 0m15.957s : 0m44.013s
• Capping it at 4 cores (I have 64 😉) from 0m25.812s : 1m10.910s
to 0m16.730s : 0m43.133s
I'll try it in my repo here in a few days to give more metrics + "touched file" metrics, but looks promising
(oh and I didn't BLOW through the UI, lol)bitter-ability-32190
07/21/2022, 5:15 PMfmt
or lint
, but rather in "batches" as we traverse the dependency tree (e.g. all nodes at each level as we traverse becomes a batch)bitter-ability-32190
07/21/2022, 5:23 PMhappy-kitchen-89482
07/21/2022, 6:54 PMbitter-ability-32190
07/21/2022, 6:56 PMa.py
, I don't need to look at the repo. Just run inference on a.py
, which gives me x
, y
, and z
. Then I need to go again running inference on x
, y
, and z
, which gives me ....
Or in code: https://github.com/pantsbuild/pants/blob/29750e6ea4cc23ea59ff4a027d587f19f2a63304/src/python/pants/engine/internals/graph.py#L525hundreds-father-404
07/21/2022, 9:09 PMdependees
requires parsing every filebitter-ability-32190
07/21/2022, 9:10 PMpeek ::
, 😉bitter-ability-32190
07/21/2022, 9:11 PMhappy-kitchen-89482
07/21/2022, 10:36 PMhappy-kitchen-89482
07/21/2022, 10:36 PMhappy-kitchen-89482
07/21/2022, 10:36 PMbitter-ability-32190
07/21/2022, 10:48 PMbitter-ability-32190
07/22/2022, 12:23 AMwitty-crayon-22786
07/22/2022, 4:19 PMwitty-crayon-22786
07/22/2022, 4:20 PMbitter-ability-32190
07/22/2022, 4:23 PMwitty-crayon-22786
07/22/2022, 4:24 PMwitty-crayon-22786
07/22/2022, 4:25 PMwitty-crayon-22786
07/22/2022, 4:26 PMlint
/ fmt
batching), one thing that you could do would be to have deterministic batches…i.e., a file is always batched with everything in its directory, for example.witty-crayon-22786
07/22/2022, 4:28 PMbitter-ability-32190
07/22/2022, 4:29 PMwitty-crayon-22786
07/22/2022, 4:52 PMtest
on 10 targets, 10 TransitiveTarget requests will be created for the 10 rootswitty-crayon-22786
07/22/2022, 4:53 PMwitty-crayon-22786
07/22/2022, 4:53 PMbitter-ability-32190
07/22/2022, 4:55 PMhappy-kitchen-89482
07/22/2022, 5:01 PMbitter-ability-32190
07/22/2022, 5:02 PM