Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some minor peformance improvements. #1019

Merged
merged 1 commit into from
Jan 6, 2024

Conversation

modmuss50
Copy link
Member

Decided to profile FAPIs configuration, with these changes its down to 8 seconds.

The main change is to update the last modified time when the etag matches a downloaded file. Previously if the version_metadata.json was over 24 hours old, it would always check the etag. Now it updates the last modified time on the file when the etag matches.

I only noticed this as I was testing with an older Gradle home that had the latest version_metadata, but was older than 24 hours, its no surprise this went under the radar.

@modmuss50 modmuss50 merged commit 480dd5e into FabricMC:dev/1.5 Jan 6, 2024
79 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant