gitpod-io / leeway

Leeway is a heavily caching build system for Go, Typescript and Docker projects.
MIT License
161 stars 20 forks source link

Add flag to not compress generic builds #191

Closed aledbf closed 2 weeks ago

aledbf commented 2 weeks ago

Description

Add new flag --dont-compress to improve build times of already compressed assets.

aledbf commented 2 weeks ago

With compression (default):

time leeway build runner/shared/rootfs:arm64

-rw-r--r-- 1 aledbf staff 1.3G Oct 28 13:20 72c366022890370162089afbaa5823c505915688.tar.gz

leeway build runner/shared/rootfs:arm64 177.69s

Without compression:

time leeway build runner/shared/rootfs:arm64 --dont-compress

-rw-r--r-- 1 aledbf staff 3.0G Oct 28 14:05 56bd38ab6c2124c69bb6fcde40268a50c69b715a.tar.gz

leeway build runner/shared/rootfs:arm64 --dont-compress 88.43s