Re: bohe implementation for compression tests

Mark Nottingham <mnot@mnot.net> Thu, 17 January 2013 01:55 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60D6811E80D9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 16 Jan 2013 17:55:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.003
X-Spam-Level:
X-Spam-Status: No, score=-9.003 tagged_above=-999 required=5 tests=[AWL=1.596, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QVhwwYgoVMsa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 16 Jan 2013 17:55:11 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9B31811E809C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 16 Jan 2013 17:55:11 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TvegU-00035n-EK for ietf-http-wg-dist@listhub.w3.org; Thu, 17 Jan 2013 01:54:26 +0000
Resent-Date: Thu, 17 Jan 2013 01:54:26 +0000
Resent-Message-Id: <E1TvegU-00035n-EK@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TvegR-00034r-5t for ietf-http-wg@listhub.w3.org; Thu, 17 Jan 2013 01:54:23 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TvegQ-0006Vk-Jq for ietf-http-wg@w3.org; Thu, 17 Jan 2013 01:54:23 +0000
Received: from [192.168.1.80] (unknown [118.209.240.13]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id CD96F22E255; Wed, 16 Jan 2013 20:53:59 -0500 (EST)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAP+FsNf65e57gO_o00fCDNnSKHPT6WTNge0Pp-kROnrgZT+RbA@mail.gmail.com>
Date: Thu, 17 Jan 2013 12:53:55 +1100
Cc: Martin Thomson <martin.thomson@gmail.com>, James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <EA378E97-F072-411F-94F6-647148486B2D@mnot.net>
References: <CABP7Rbe-B89vVm8=OnHtAG0Y3G2UOysX+DKaTQ3+rAKBJBJyKA@mail.gmail.com> <CABP7RbdSurNdLxvVV1F-9Bx4LwdhrX2btEvfA+RV=rVZ0moXNA@mail.gmail.com> <CABkgnnVdXwo5eiBMNMjONG88r8EvErxQ9_yrgdh5NFH=KQhfZQ@mail.gmail.com> <B8C9ED58-31E8-4DF0-9AE0-34E07B95F0A8@mnot.net> <CABkgnnUrs19_73Xc=E+TAhnP6AEdmuKQ5-XmDez+mJg-MONZfA@mail.gmail.com> <CAP+FsNf65e57gO_o00fCDNnSKHPT6WTNge0Pp-kROnrgZT+RbA@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-3.116, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TvegQ-0006Vk-Jq 6d4ac3f334c60b8340f4af8e14c41ea1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: bohe implementation for compression tests
Archived-At: <http://www.w3.org/mid/EA378E97-F072-411F-94F6-647148486B2D@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15949
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

pip install foo is fine; just make sure you put it in your compressor's README, and recover from the import failure semi-gracefully.

Cheers,


On 17/01/2013, at 12:41 PM, Roberto Peon <grmocg@gmail.com> wrote:

> The difference is, well huge, and not only linear, though it arguably could be made to be merely linearly different :)
> 
> Which reminds me, pypi has a module that makes huffman encoding/decoding very cheap (and I'd get to throw away a file).
> Any opinions on using/including it? It'd require getting it installed on machines (on ubuntu, just an apt-get away...)
> -=R
> 
> 
> On Wed, Jan 16, 2013 at 5:21 PM, Martin Thomson <martin.thomson@gmail.com> wrote:
> On 16 January 2013 17:11, Mark Nottingham <mnot@mnot.net> wrote:
> > Getting there, although you may need a small truck to haul the grain of salt that will accompany it...
> 
> Even if it just means running the sample set n times using 'time', it
> would be nice to get ballpark figures.  Even if the errors are
> enormous.  For instance, a python implementation of delta is probably
> not that good to compare to an optimized gzip implementation, but it
> might still let us know that deltav3 is better than deltav2.
> 
> 

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