Giter VIP home page Giter VIP logo

Comments (8)

dachafra avatar dachafra commented on June 12, 2024 1

100% agree, tar.xz is perfect!

from gtfs-bench.

daniel-dona avatar daniel-dona commented on June 12, 2024

The output compression format (zip, tar.bz2 or tar.xz) can be an option of the user interface. If the output is just one format it should be zip as its the most used and compatible.

What do you think @dachafra?

On the other hand, pugz is only an option for gzip, but gzip and zip are different formats. So, pugz is discarded and I have to search for an alternative...

from gtfs-bench.

dachafra avatar dachafra commented on June 12, 2024

I wouldn't delegate the compression option to the user sincerely.
Let's prioritize the performance on obtaining the resources instead of the compression format

from gtfs-bench.

dachafra avatar dachafra commented on June 12, 2024

btw, I found this: https://github.com/dcwatson/deflate

from gtfs-bench.

daniel-dona avatar daniel-dona commented on June 12, 2024

btw, I found this: https://github.com/dcwatson/deflate

But that is only the gzip and zip compression algorithm, the interesting thing is if there is a parallel implementation, and for the moment it seams is not possible.

We can move to tar.xz, is compatible with 7-zip on Windows. Is the best option in speed, size and compatibility.

from gtfs-bench.

daniel-dona avatar daniel-dona commented on June 12, 2024

Some numbers in a machine with 24 computing threads.

Using zip [compression level 9]:

real	5m58.036s
user	5m55.845s
sys	0m2.000s

Using tar + pxz [compression level 1]:

real	0m30.468s
user	8m39.010s
sys	0m18.165s

For a similar output size:

-rw-r--r-- 1 root root 611M Jun 14 11:25 result.tar.xz
-rw-r--r-- 1 root root 652M Jun 14 11:15 result.zip

Better compression ratios can be achieved, but I think the problem is not the size but the compression time.

from gtfs-bench.

dachafra avatar dachafra commented on June 12, 2024

No problem with the size! Awesome results, perfect :-D

from gtfs-bench.

dachafra avatar dachafra commented on June 12, 2024

tested and working! closing issue :-D

from gtfs-bench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.