hundreds-father-404
04/06/2020, 6:03 PM./v2 fmt
is not terminating (or maybe just taking over a minute) in the fmt
stage, meaning after all the formatters have run and write to the build root. It was also taking 100% of my CPU according to top
.
I didn’t notice this on Friday. Maybe the tokio upgrade has something to do with it?hundreds-father-404
04/06/2020, 6:03 PMhundreds-father-404
04/06/2020, 6:03 PM./v2 fmt src/python/pants/util/strutil.py
(no changes), it exited cleanly and quickly. So maybe the issue is when we modify the build rootwitty-crayon-22786
04/06/2020, 6:03 PMhundreds-breakfast-49010
04/06/2020, 6:03 PMhundreds-father-404
04/06/2020, 6:04 PMwitty-crayon-22786
04/06/2020, 6:08 PMwitty-crayon-22786
04/06/2020, 6:09 PMperf
... on OSX, it's Instruments
witty-crayon-22786
04/06/2020, 6:13 PMmaterialize_directories
, but the native profile doesn't indicate that any particular function in there is taking any longer... just possibly that it's looping more than it should be.witty-crayon-22786
04/06/2020, 6:13 PMhundreds-father-404
04/06/2020, 6:15 PMwitty-crayon-22786
04/06/2020, 6:32 PMwitty-crayon-22786
04/06/2020, 6:32 PMhundreds-father-404
04/06/2020, 6:34 PMwitty-crayon-22786
04/06/2020, 6:41 PMwitty-crayon-22786
04/06/2020, 6:41 PMhundreds-breakfast-49010
04/06/2020, 6:46 PMhundreds-father-404
04/06/2020, 6:48 PMwitty-crayon-22786
04/06/2020, 6:49 PMwitty-crayon-22786
04/06/2020, 6:49 PMhundreds-father-404
04/06/2020, 6:49 PMhundreds-breakfast-49010
04/06/2020, 6:50 PMhundreds-father-404
04/06/2020, 6:51 PMwitty-crayon-22786
04/06/2020, 6:51 PMhundreds-father-404
04/06/2020, 6:51 PMhundreds-breakfast-49010
04/06/2020, 6:51 PMwitty-crayon-22786
04/06/2020, 6:52 PMwitty-crayon-22786
04/06/2020, 6:52 PMhundreds-father-404
04/06/2020, 6:52 PMwitty-crayon-22786
04/06/2020, 6:52 PMhundreds-father-404
04/06/2020, 7:47 PM./v2 test --debug
is really really slow to start the test in between the time of --v2-ui
and when the output is supposed to render. I think this is the InteractiveRunner
piece that took a perf hitwitty-crayon-22786
04/06/2020, 7:47 PMhundreds-father-404
04/06/2020, 7:47 PM./v2 test
behaved normallywitty-crayon-22786
04/06/2020, 7:48 PMmaterialize_directory
, so it's possible. but easy to confirm with py-spy.)hundreds-father-404
04/06/2020, 8:43 PM./v2 fmt
is actually overwriting the build root just as quickly as normal. The files are being updated properly. The issue is not terminating.witty-crayon-22786
04/06/2020, 8:53 PMearly-needle-54791
04/06/2020, 9:06 PMwitty-crayon-22786
04/06/2020, 9:17 PM