DrewNaylor / guinget

Unofficial GUI for Microsoft's Windows Package Manager (winget). Kinda like Synaptic, but for Windows. Not associated with either Microsoft or the Synaptic project, and Microsoft does not endorse this software.
Apache License 2.0
135 stars 3 forks source link

Faster cache updates and package list loading. #110

Closed DrewNaylor closed 3 years ago

DrewNaylor commented 3 years ago

Now we only extract the manifests to save about 10 seconds when my laptop is on "Better performance" mode, or almost a minute when it's on "Better battery". As a result of the extra time budget, the current file that's being extracted is now shown in the "Extracting manifests" window. Moving the manifests instead of copying them further improves cache update times.

Additionally, the statusbar isn't updated every time a package is added to the package list, thus further potentially improving performance since it's not having to redraw itself constantly. That may not be that helpful as sometimes adding packages to the list is fast and sometimes it's slow, even when updating the statusbar constantly.