flat-zoo-31952
05/04/2023, 9:16 PMbitter-ability-32190
05/04/2023, 9:17 PMimports
option controls it globally (at this point it's a bit of a misnomer, and likely should be renamed). IIRCflat-zoo-31952
05/04/2023, 9:17 PMbitter-ability-32190
05/04/2023, 9:18 PMflat-zoo-31952
05/04/2023, 9:18 PMpants dependencies ::
got at least 2x slowerflat-zoo-31952
05/04/2023, 9:19 PMflat-zoo-31952
05/04/2023, 9:19 PMExecuted in 120.79 secs fish external
usr time 699.66 millis 513.00 micros 699.14 millis
sys time 138.12 millis 134.00 micros 137.99 millis
flat-zoo-31952
05/04/2023, 9:20 PMflat-zoo-31952
05/04/2023, 9:20 PMbitter-ability-32190
05/04/2023, 9:24 PMflat-zoo-31952
05/04/2023, 9:25 PMflat-zoo-31952
05/04/2023, 9:25 PM--no-pantsd
to get accurate metrics with time
flat-zoo-31952
05/04/2023, 9:29 PM❯ time ./pants --no-pantsd --no-python-infer-imports dependencies ::
...
________________________________________________________
Executed in 130.08 secs fish external
usr time 171.09 secs 914.00 micros 171.09 secs
sys time 21.74 secs 0.00 micros 21.74 secs
bitter-ability-32190
05/04/2023, 9:29 PMbitter-ability-32190
05/04/2023, 9:30 PMflat-zoo-31952
05/04/2023, 9:31 PM❯ ./pants --no-pantsd --no-python-infer-imports list :: | wc -l
7773
bitter-ability-32190
05/04/2023, 9:31 PMfind
for .py
might be a bit more accurateflat-zoo-31952
05/04/2023, 9:33 PMbitter-ability-32190
05/04/2023, 9:35 PMbitter-ability-32190
05/04/2023, 9:36 PMbitter-ability-32190
05/04/2023, 9:37 PMflat-zoo-31952
05/04/2023, 9:38 PMbitter-ability-32190
05/04/2023, 9:38 PMflat-zoo-31952
05/04/2023, 9:38 PMbitter-ability-32190
05/04/2023, 9:39 PMbitter-ability-32190
05/04/2023, 9:39 PMflat-zoo-31952
05/04/2023, 9:40 PM-ldebug
now, and I've grabbed some profiler data for similar issues beforebitter-ability-32190
05/04/2023, 9:41 PMwitty-crayon-22786
05/04/2023, 9:45 PM-ldebug
might be the best bet. we probably ought to add a generic workunit capture plugin, since it has all of this timing data.flat-zoo-31952
05/04/2023, 9:45 PM17:40:00.11 ESC[32m[DEBUG]ESC[0m Completed: Find targets from input specs
17:40:57.82 [INFO] Long running tasks:
60.41s `dependencies` goal
17:41:27.84 [INFO] Long running tasks:
90.43s `dependencies` goal
17:41:56.75 ESC[32m[DEBUG]ESC[0m Completed: `dependencies` goal
flat-zoo-31952
05/04/2023, 9:47 PMwitty-crayon-22786
05/04/2023, 9:47 PMpy-spy
traceflat-zoo-31952
05/04/2023, 9:47 PMflat-zoo-31952
05/04/2023, 9:47 PMbroad-processor-92400
05/04/2023, 9:49 PM-ltrace
give anything useful?bitter-ability-32190
05/04/2023, 9:56 PMflat-zoo-31952
05/04/2023, 11:20 PMbroad-processor-92400
05/04/2023, 11:21 PMchilly-holiday-48058
05/04/2023, 11:22 PMshorts
to help in comparing performance?flat-zoo-31952
05/04/2023, 11:31 PMflat-zoo-31952
05/04/2023, 11:52 PMflat-zoo-31952
05/05/2023, 2:46 PM