intersystems / ipm

InterSystems ObjectScript Package Manager
MIT License
28 stars 19 forks source link

Improve performance of dependency resolution #481

Open isc-tleavitt opened 1 month ago

isc-tleavitt commented 1 month ago

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.)