Repository navigation
Conversation
A player reported that downloads from GET MODS felt slower than from the mods website. Both read the same GitHub release files, and the game reads them as fast as curl, so the speed is now shown to make such reports measurable: under the panel, how much has arrived, then the speed over the last 3 seconds and the time left. The log gives the average speed of each install.
Contributor
Author
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
During a download, two lines under the GET MODS panel, above the buttons, show how much has arrived of the archive's size (
64.3 MB OF 153.7 MB), then the speed over the last 3 seconds and the time left at that speed (6.1 MB/S, 2 MIN LEFT). The speed shows once the download has run for a second. The log gives the average speed of each install, so a player who finds downloads slow can compare it with their browser's.web.Download's watch loop, which already checked the limits every 100 ms, now also records the time since the start and the recent speed inweb.Progress(SpeedMeter).Progress.secondsLeftgives the time left.catalogue.Install.transfergives the whole progress in place offraction.comptimecheck keeps them above the buttons.Downloads aren't faster: they already ran as fast as curl on the same files (see the issue).
Closes #1663