ipm icon indicating copy to clipboard operation
ipm copied to clipboard

Improve performance of dependency resolution

Open isc-tleavitt opened this issue 1 year ago • 4 comments

Dependency resolution is currently very slow, we believe because there are many individual requests being sent to the package registry.

It may be practical to have a call to the registry at the start of dependency resolution to say "list everything you have" (including dependencies) - or perhaps just to cache better. A lock file is an independent need but would also help as at that point the dependency resolution is performed once and reused.

(From discussion with @isc-kiyer today.)

isc-tleavitt avatar May 16 '24 16:05 isc-tleavitt

On review today: the awfulness of this performance makes it a bug to be fixed, not an enhancement.

isc-tleavitt avatar Oct 04 '24 17:10 isc-tleavitt

Several packages failed to pass on v1 because of this problem. See #645

isc-shuliu avatar Dec 04 '24 19:12 isc-shuliu

We might want to consider the steps outlined in HSIEO-4444

isc-shuliu avatar Jan 21 '25 15:01 isc-shuliu

Also, HSIEO-5745 mentions that IPM sometimes fails to detect cyclic dependencies. Should add a unit/integration test for that.

isc-shuliu avatar Jan 21 '25 15:01 isc-shuliu