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

Re: FYI: Tools to evaluate header compression algorithms

From: Frédéric Kayser <f.kayser@free.fr>
Date: Mon, 14 Jan 2013 23:25:49 +0100 (CET)
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <708866698.210998824.1358202349611.JavaMail.root@zimbra71-e12.priv.proxad.net>
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 --
Received on Monday, 14 January 2013 22:26:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:09 UTC