salmon-barista-63163
12/01/2020, 11:16 PMwitty-crayon-22786
12/01/2020, 11:18 PMpantsd turned on?witty-crayon-22786
12/01/2020, 11:18 PMsalmon-barista-63163
12/01/2020, 11:19 PMsalmon-barista-63163
12/01/2020, 11:19 PM<http://pants.ci|pants.ci>.toml file where that is specifically offwitty-crayon-22786
12/01/2020, 11:20 PMpantsd memoizes the vast majority of work, so if you’re going to be running multiple commands in a row, it’s a good idea to have it onwitty-crayon-22786
12/01/2020, 11:20 PMsalmon-barista-63163
12/01/2020, 11:20 PMsalmon-barista-63163
12/01/2020, 11:20 PMwitty-crayon-22786
12/01/2020, 11:21 PMpants run sequentially?salmon-barista-63163
12/01/2020, 11:21 PMsalmon-barista-63163
12/01/2020, 11:21 PMsalmon-barista-63163
12/01/2020, 11:21 PMwitty-crayon-22786
12/01/2020, 11:21 PMpantsd should amortize well in that case.witty-crayon-22786
12/01/2020, 11:22 PMsalmon-barista-63163
12/01/2020, 11:23 PMsalmon-barista-63163
12/01/2020, 11:23 PMsalmon-barista-63163
12/01/2020, 11:24 PMwitty-crayon-22786
12/01/2020, 11:24 PMpantsd, i mean the daemon process, rather than the .pants.d directory.hundreds-father-404
12/01/2020, 11:24 PM.pants.d, or the option [GLOBAL].pantsd aka --pantsd? The folder .pants.d is nothing more than a temporary workdir - it’s almost all empty in v2, and caching it shouldn’t make much difference
What matters is the --pantsd optionhundreds-father-404
12/01/2020, 11:24 PMsalmon-barista-63163
12/01/2020, 11:24 PMsalmon-barista-63163
12/01/2020, 11:25 PMwitty-crayon-22786
12/01/2020, 11:25 PMpantsd to keep it warm.salmon-barista-63163
12/01/2020, 11:26 PMwitty-crayon-22786
12/01/2020, 11:26 PMpantsd is kept alive for longer periods.witty-crayon-22786
12/01/2020, 11:27 PMsalmon-barista-63163
12/01/2020, 11:27 PMwitty-crayon-22786
12/01/2020, 11:28 PMsalmon-barista-63163
12/01/2020, 11:30 PMsalmon-barista-63163
12/01/2020, 11:30 PMwitty-crayon-22786
12/01/2020, 11:32 PMwitty-crayon-22786
12/01/2020, 11:32 PMsalmon-barista-63163
12/01/2020, 11:33 PMhundreds-father-404
12/01/2020, 11:33 PMsalmon-barista-63163
12/01/2020, 11:33 PMsalmon-barista-63163
12/01/2020, 11:33 PMwitty-crayon-22786
12/01/2020, 11:35 PMwitty-crayon-22786
12/01/2020, 11:35 PMpantsd in CI, and see how that does. across 5-10 runs, you should see a 4-9 * 20 second reduction in runtimewitty-crayon-22786
12/01/2020, 11:36 PMhundreds-father-404
12/01/2020, 11:37 PMyou can delete most dependencies.In those two repos (pantsbuild/pants and Toolchain), we were able to delete ~90% of our BUILD file content -- I hear you on the perf overhead though. We agree there’s lots of perf work to be done on Pants, including: - reducing the frequency of Pantsd restarting - speeding up resolving requirements - reducing overhead of running a Pex, which should speed up things like
./pants testsalmon-barista-63163
12/01/2020, 11:39 PMsalmon-barista-63163
12/01/2020, 11:39 PMsalmon-barista-63163
12/01/2020, 11:39 PMsalmon-barista-63163
12/01/2020, 11:40 PMhundreds-father-404
12/01/2020, 11:41 PMim very happy with the progress of pantsGlad to hear! It can sometimes be overwhelming for me personally knowing how much we still have to improve, that it’s not yet where I want the tool to be. But it’s a good reminder to celebrate the progress that has been made
salmon-barista-63163
12/01/2020, 11:41 PMhappy-kitchen-89482
12/02/2020, 12:54 AM