Multithreaded cmdline program brotli-mt released #171

Open
opened 2026-01-29 20:39:16 +00:00 by claunia · 0 comments
Owner

Originally created by @ghost on GitHub (May 24, 2017).

I have just released a gzip/bzip2 compatible command line program called brotli-mt.

The threading is done with skippable frames like in ZStandard.

What do the authors of Brotli think about this ?
I could add decompression for plain brotli also ...

This is the help summary of the tool:

 Usage: brotli-mt [OPTION]... [FILE]...
 Compress or uncompress FILEs (by default, compress FILES in-place).

 Standard Options:
  -#    Set compression level to # (0-11, default:3).
  -c    Force write to standard output.
  -d    Use decompress mode.
  -z    Use compress mode.
  -f    Force overwriting files and/or compression.
  -o F  Write output to file `F`, stdout is used for `-`.
  -h    Display a help screen and quit.
  -k    Keep input files after compression or decompression.
  -l    List information for the specified compressed files.
  -L    Display License and quit.
  -q    Be quiet: suppress all messages.
  -S X  Use suffix 'X' for compressed files. Default: ".brot"
  -t    Test the integrity of each file leaving any files intact.
  -v    Be more verbose.
  -V    Show version information and quit.

 Additional Options:
  -T N  Set number of (de)compression threads (def: #cores).
  -b N  Set input chunksize to N MiB (default: auto).
  -i N  Set number of iterations for testing (default: 1).
  -B    Print timings and memory usage to stderr.
  -C    Disable crc32 calculation in verbose listing mode.

 If invoked as 'brotli-mt', default action is to compress.
             as 'unbrotli-mt',  default action is to decompress.
             as 'brotlicat-mt', then: force decompress to stdout.

 With no FILE, or when FILE is -, read standard input.

 Report bugs to: https://github.com/mcmilk/zstdmt/issues

PS: Everything is pre-alpha ;)

Originally created by @ghost on GitHub (May 24, 2017). I have just released a gzip/bzip2 compatible command line program called [brotli-mt](https://github.com/mcmilk/zstdmt/tree/master/programs). The threading is done with [skippable frames](https://github.com/mcmilk/zstdmt/) like in ZStandard. What do the authors of Brotli think about this ? I could add decompression for plain brotli also ... This is the help summary of the tool: ``` Usage: brotli-mt [OPTION]... [FILE]... Compress or uncompress FILEs (by default, compress FILES in-place). Standard Options: -# Set compression level to # (0-11, default:3). -c Force write to standard output. -d Use decompress mode. -z Use compress mode. -f Force overwriting files and/or compression. -o F Write output to file `F`, stdout is used for `-`. -h Display a help screen and quit. -k Keep input files after compression or decompression. -l List information for the specified compressed files. -L Display License and quit. -q Be quiet: suppress all messages. -S X Use suffix 'X' for compressed files. Default: ".brot" -t Test the integrity of each file leaving any files intact. -v Be more verbose. -V Show version information and quit. Additional Options: -T N Set number of (de)compression threads (def: #cores). -b N Set input chunksize to N MiB (default: auto). -i N Set number of iterations for testing (default: 1). -B Print timings and memory usage to stderr. -C Disable crc32 calculation in verbose listing mode. If invoked as 'brotli-mt', default action is to compress. as 'unbrotli-mt', default action is to decompress. as 'brotlicat-mt', then: force decompress to stdout. With no FILE, or when FILE is -, read standard input. Report bugs to: https://github.com/mcmilk/zstdmt/issues ``` PS: Everything is pre-alpha ;)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#171