mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
gzip 9 takes 2x as long as 7 for +0.1% compression
This commit is contained in:
parent
cf4cb2126a
commit
770adbaf71
@ -135,7 +135,7 @@ end
|
||||
|
||||
def gzip(path)
|
||||
STDERR.puts "gzip #{path}"
|
||||
STDERR.puts `gzip -f -c -9 #{path} > #{path}.gz`
|
||||
STDERR.puts `gzip -f -c -7 #{path} > #{path}.gz`
|
||||
end
|
||||
|
||||
def compress(from,to)
|
||||
|
Loading…
x
Reference in New Issue
Block a user