mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 14:50:09 +08: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)
|
def gzip(path)
|
||||||
STDERR.puts "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
|
end
|
||||||
|
|
||||||
def compress(from,to)
|
def compress(from,to)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user