gentle-painting-32087
07/01/2023, 3:33 PMgentle-painting-32087
07/01/2023, 3:33 PMgentle-painting-32087
07/01/2023, 3:38 PMvalidate_python_dependencies
at the end after gathering dependees. Is it possible to skip those processes to save some time? Thanks!
2. For find_owners, do we have some recommendations for improving the performance, Iβve seen a long waiting duration before executing the code, and Iβve seen a couple of threads regarding this, but any advice would be helpful.
3. Overall, our current process for collecting dependees runs within 5~6 minutes, do we think remote caching can save some time for the current process?enough-analyst-54434
07/01/2023, 4:18 PMbitter-ability-32190
07/01/2023, 4:25 PMgentle-painting-32087
07/06/2023, 7:20 PMparse_python_dependencies
for our use cases.
We tried to build a dependency graph for our repo, then select the tests that needed to be run in our CI system based on the specs input. I have some difficulties connecting our current subsystem with the PythonInferSubsystem
together. Thanks a lot, any advice would be helpful!bitter-ability-32190
07/06/2023, 7:21 PMgentle-painting-32087
07/06/2023, 7:33 PMFor 3, pants 2.17 ships with experimental support for parsing dependencies in Rust. Itβs actually about as fast as pulling from the old process cache locally, and therefore is faster than looking up in the remote cache. If you can, try it out and report backSorry about that, just want to follow your comments regarding this one, I did some research on how to use the rust dependency parse and would be great if you can point me to the correct direction for using it.
bitter-ability-32190
07/06/2023, 7:44 PMgentle-painting-32087
07/07/2023, 6:15 AMtime ./pants dependents app/xxx --stats-log --python-infer-use-rust-parser
./pants dependents app/xxx --stats-log --python-infer-use-rust-parser 0.49s user 0.20s system 0% cpu 3:48.40 total
My current observations are:
1. --python-infer-use-rust-parser
could not boost the performance for ./pants dependents
or (MultiGet/Get dependencies)
2. We use a local cache, but it does not help the rerun for ./pants dependents
commands. We always need to spend 5+ mins creating the dependencies graph.
Attached is the latest pyspy svg.bitter-ability-32190
07/07/2023, 12:52 PMgentle-painting-32087
07/07/2023, 4:25 PMbitter-ability-32190
07/07/2023, 4:25 PMbitter-ability-32190
07/07/2023, 4:25 PMgentle-painting-32087
07/07/2023, 6:29 PM./pants dependents xxx
twice, should we cache the results from the first run and speed up the second run? I am just curious whether we could utilize more caches in our CI builds.bitter-ability-32190
07/07/2023, 6:30 PMgentle-painting-32087
07/07/2023, 7:16 PMgentle-painting-32087
07/07/2023, 7:20 PM