this post was submitted on 22 Sep 2026
977 points (99.0% liked)

Funny

16257 readers
2088 users here now

General rules:

Exceptions may be made at the discretion of the mods.

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] stoy@lemmy.zip 1 points 18 hours ago (1 children)

That can't be right, all reports I have read about comparing xz with gzip tells me that xz will have better compression but at a slower speed than gzip.

Have you run a test of gzip at the same compression level with the same data?

I don't doubt that xz will be smaller, I doubt it will be quicker.

[โ€“] katze@lemmy.4d2.org 1 points 2 hours ago

This is actually stated in the xz man page: -0 is sometimes faster than gzip -9 while compressing much better.

With a random test file on my system, xz -0 was 3 times as fast while achieving the same compression as gzip -6.