[Zlib-devel] Performance tests with 1.2.beta2
Paul Marquess
Paul.Marquess at btinternet.com
Thu Jan 2 05:36:02 EST 2003
From: Zlib-devel-admin at zlib.net [mailto:Zlib-devel-admin at zlib.net]On
> On Tuesday, December 10, 2002, at 03:17 PM, Paul Marquess wrote:
> > 1. Benchmarking 1.1.4 seems to show that after about 120K, increasing
> > the
> > buffer size made the amount of time taken oscillate between 7.6
> > seconds and
> > 8.6 seconds. I've repeated this test a few times and the sweet spots
> > seem to
> > be at the same places every time. Whether this is an interaction with
> > Perl
> > is difficult to say.
>
> I was not able to duplicate this odd behavior. I have no idea what's
> causing it.
I recon it's the interaction with the Perl interpreter. If I had to guess
I'd recon a prime candidate would be malloc - there is quite a bit of buffer
copying and realloc'ing going on behind the scenes.
I think the main thing I'm taking from the results I'm getting are that the
new inflate is noticeably faster and *much* more predictable in terms of the
inflation time.
I'll run some more tests with alpha5 later on.
cheers
Paul
More information about the Zlib-devel
mailing list