Re: FYI: Tools to evaluate header compression algorithms

sample_exec_codec.py is just an example; that could be any executable, as long as the format returned is similar.

Cheers,


On 15/01/2013, at 9:25 AM, Frédéric Kayser <f.kayser@free.fr> wrote:

> Hello,
> there's something I don't get, I would like to try other compression algorithms, but those are written in plain old C or assembly, sample_exec_codec.py is in Python... how I am supposed to hook something in there?
> 
> 
> Adding New Compression Algorithms
> 
> If you wish to implement a new codec, there are two easy approaches.
> 
> 1) Develop it in Python. New modules should be subdirectories of 'compressor', and should inherit from BaseProcessor there.
> 
> 2) Develop it in another language, and use the 'fork' module to execute it in a separate process. See 'sample_exec_codec.py' for an example of this; it can be run like this:
> 
> ./compare_compressors.py -c fork="sample_exec_codec.py" file.har
> 
> 
> ----- Mail original -----
> De: "Mark Nottingham" <mnot@mnot.net>
> À: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
> Envoyé: Lundi 31 Décembre 2012 03:22:33
> Objet: FYI: Tools to evaluate header compression algorithms
> 
> As part of his implementation, Roberto created a test harness for comparing headers. With his help, I've forked that and refactored a bit --
>  https://github.com/http2/compression-test
> 
> 
> 
> 
> 

--
Mark Nottingham   http://www.mnot.net/

Received on Monday, 14 January 2013 23:27:42 UTC