Re: [PATCH 1/2] ui-snapshot: add support for zstd compression

2020-02-26 Thread Christian Hesse
Unit 193 on Wed, 2020/02/26 17:21: > > Wow, thanks for doing this. I had just been discussing this with > > Unit193, who submitted a similar but not as complete patch a few days > > ago to me on IRC. > > Indeed! Thanks for looking into this! I just implemented this after the lzip patch was

Re: [PATCH 1/2] ui-snapshot: add support for zstd compression

2020-02-26 Thread Christian Hesse
Christian Hesse on Wed, 2020/02/26 11:18: > % time gzip < git-2.25.1.tar > git-2.25.1.tar.gz > 2,16s user 0,04s system 361% cpu 0,607 total This was multi-threaded pigz... Plain gzip looks like this: % /usr/bin/gzip < git-2.25.1.tar > git-2.25.1.tar.gz 1,39s user 0,01s system 98% cpu 1,425

Re: [PATCH 1/2] ui-snapshot: add support for zstd compression

2020-02-26 Thread Christian Hesse
"Jason A. Donenfeld" on Wed, 2020/02/26 17:16: > We had been discussing which compression level to pass to zstd or to > leave it as default. I think Unit193 had some thoughts on that, so > CC'ing him in case he wants to jump in. Thought about that myself after I sent the mail... This is a

Re: [PATCH 1/2] ui-snapshot: add support for zstd compression

2020-02-26 Thread Jason A. Donenfeld
Wow, thanks for doing this. I had just been discussing this with Unit193, who submitted a similar but not as complete patch a few days ago to me on IRC. We had been discussing which compression level to pass to zstd or to leave it as default. I think Unit193 had some thoughts on that, so CC'ing

[PATCH 1/2] ui-snapshot: add support for zstd compression

2020-02-26 Thread Christian Hesse
From: Christian Hesse This patch adds support for zstd [0] compressed snapshots (*.tar.zst). [0] https://www.zstd.net/ Signed-off-by: Christian Hesse --- cgitrc.5.txt| 5 +++-- tests/setup.sh | 2 +- tests/t0107-snapshot.sh | 42