Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2004 23:05:52 +0200
From:      Oliver Eikemeier <eikemeier@fillmore-labs.com>
To:        "Cyrille Lefevre" <clefevre-lists@9online.fr>
Cc:        Dan Langille <dan@langille.org>
Subject:   Re: HEADS UP - master/slave ports
Message-ID:  <1DC17B53-C0A2-11D8-9250-00039312D914@fillmore-labs.com>
In-Reply-To: <065a01c454a9$d5c32a00$7890a8c0@dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Cyrille Lefevre wrote:

>> These appear to be slightly faster than the previous stats I posted.
>> Everything is pratically identical in user time.  sys is where the
>> savings are being made.
>
> it's strange that this code (w/ no fork) is not much faster than 2 
> forks !

The benchmark is not really valid. Depending on your machine,
nearly everything will be in the cache. This is not true when
you have other stuff in the loop, like building the INDEX.

-Oliver



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1DC17B53-C0A2-11D8-9250-00039312D914>