microscopic-knife-5995
01/24/2025, 7:52 PMgenerate-lockfiles
. I am seeing generating lockfiles for our monorepo taking like ~1h. I understand that the problem isn't easy because fundamentally it is a NP-complete problem.
I am curious of how the resolution works and where the bottleneck is.
Is the resolution implemented using PubGrub algorithm in Rust like this? https://github.com/pubgrub-rs/pubgrub Or is the bottleneck on network calls to download the dependency metadata? What are people's thoughts on speeding this up?wide-midnight-78598
01/24/2025, 7:55 PMmicroscopic-knife-5995
01/24/2025, 8:00 PMpip
resolve that is a large bottleneck... that sucks...wide-midnight-78598
01/24/2025, 8:01 PMmicroscopic-knife-5995
01/24/2025, 8:03 PMwide-midnight-78598
01/24/2025, 8:06 PMmicroscopic-knife-5995
01/24/2025, 8:06 PMwide-midnight-78598
01/24/2025, 8:06 PMmicroscopic-knife-5995
01/24/2025, 8:07 PMmicroscopic-knife-5995
01/28/2025, 12:09 AM[python]
enable_resolves = true
pip_version = "latest"
[pex-cli]
version = "v2.31.0"
known_versions = [
"v2.31.0|macos_arm64|abd5c7c3f3f21165092aca31a6d5a9559544dc61e7aaf7839d1c86f4ed8645bd|4376378",
"v2.31.0|linux_x86_64|abd5c7c3f3f21165092aca31a6d5a9559544dc61e7aaf7839d1c86f4ed8645bd|4376378",
]
wide-midnight-78598
01/28/2025, 2:08 AMwide-midnight-78598
01/28/2025, 2:08 AMwide-midnight-78598
01/28/2025, 2:09 AM