Another performance improvement would be to cache the bootstrapper libraries, so that bootstrapper's Init() method loads faster.
This would also allow me to prepackage the cached libraries with Import-Package at time of running my test scripts.
The import code for the bootstrapper should perform 2 things:
- Cache the package internally (do not use PackageManagement)
- Continue to only use NETStandard libraries
This would also potentially allow Import-Package to leverage additional libraries such as MiniZip without any performance hit.
This would be part of the refactor to resolve #50
The libraries that this should aim to support are:
- MiniZip (or similar): For parsing remote .nupkgs without full download/extraction
- NuGet's internal libraries such as NuGet.Frameworks/NuGet.Packaging
- Microsoft.Windows.SDK.NET.Ref: patch for WinRT APIs in .NET Core
- Microsoft.NETCore.Platforms: used to help the bootstrapper to sanity check the custom runtime identifier code
Another performance improvement would be to cache the bootstrapper libraries, so that bootstrapper's
Init()method loads faster.This would also allow me to prepackage the cached libraries with Import-Package at time of running my test scripts.
The import code for the bootstrapper should perform 2 things:
This would also potentially allow Import-Package to leverage additional libraries such as MiniZip without any performance hit.
This would be part of the refactor to resolve #50
The libraries that this should aim to support are: