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

disable compression for zip #1296

Open
wants to merge 1 commit into
base: nightly
Choose a base branch
from

Conversation

DasBabyPixel
Copy link
Contributor

Motivation

Creating a zip for a directory that should be sent over the network takes very long.
Disabling compression makes quite a noticeable improvement in the time it takes for the file to start being sent over the network. Actually sending the file doesn't even take longer most of the time because large files for minecraft servers (region files, jars) are compressed by default and trying to compress them is pointless

Modification

Disabled compression for creating zip files

Result

Faster creating of zips

Other context

An argument can be made to filter for the file extension before zipping, to only disable compression for already compressed entries like jars and region files

@DasBabyPixel DasBabyPixel force-pushed the fast-compression branch 2 times, most recently from f2a2fa2 to d2e814f Compare July 14, 2024 20:13
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