W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2013

Re: FYI: Tools to evaluate header compression algorithms

From: James M Snell <jasnell@gmail.com>
Date: Mon, 14 Jan 2013 14:47:06 -0800
Message-ID: <CABP7Rbd68AO_UZRabMOAwqPznC2OV1VL+=r0VtU4Ctu6CJ28Fw@mail.gmail.com>
To: Frédéric Kayser <f.kayser@free.fr>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Go here and look at the bohe directory as an example...

https://github.com/jasnell/compression-test/tree/master/compressor

Ignore the spdy3_dictionary.h file that's in there, it's not used.

- James


On Mon, Jan 14, 2013 at 2:25 PM, 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
>
>
>
>
>
>
Received on Monday, 14 January 2013 22:47:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 14 January 2013 22:47:55 GMT