ancient-wall-52690
07/17/2023, 6:16 PM2.14
to 2.16
and noticed that launching pantsd
is taking much longer than it used to (about 10 seconds). Running the command ./pants -ltrace --no-pantsd
reveals a big increase in the number of iterations of rule_graph monomorphize
.
v2.14
rule_graph monomorphize: iteration 38000: live: 8131, minimal: 7117, to_visit: 127, total: 30559
v2.16
rule_graph monomorphize: iteration 598000: live: 100589, minimal: 98377, to_visit: 246, total: 388764
(output truncated, this is just the last line from the relevant section)
Is this change caused by something in my code/config or is this in the pants internals? And is there anything I can do to speed it back up?curved-television-6568
07/17/2023, 6:19 PMancient-wall-52690
07/17/2023, 6:24 PMancient-wall-52690
07/17/2023, 6:25 PMancient-wall-52690
07/17/2023, 6:31 PMexample-python
pantsbuild repo and see the same behavior.happy-kitchen-89482
07/17/2023, 7:48 PMancient-wall-52690
07/18/2023, 3:57 PMcurved-television-6568
07/18/2023, 5:03 PMwitty-crayon-22786
07/19/2023, 8:21 PMancient-wall-52690
07/19/2023, 8:39 PM