Libev vs. libevent benchmark (reloaded)
Marc Lehmann
schmorp at schmorp.de
Mon Apr 19 01:05:21 CEST 2010
On Tue, Apr 13, 2010 at 03:26:19PM +0200, Gabriel Kerneis <kerneis at pps.jussieu.fr> wrote:
> See the attached script. You might need to tweak it a bit (especially
> the cpufreq-set call) but otherwise, it automates completely the
> benchmark (provided you have the expected tools installed).
Note also that you compile the libev binary with incompatible headers:
libtool --mode=link gcc -O3 -fno-guess-branch-probability -g bench.c -I.. ../libev.la -o bench -DNATIVE -DEV_MULTIPLICITY=0
Am I correct that the libev.la is simply the standard libev? That one is
binary incompatible with -DEV_MULTIPLICITY=0.
How it would work in native mode as opposed to instantly crashing is
something I'd like to know :)
(with the libevent api it would probably work, as the header is not
affected by multiplicity).
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / schmorp at schmorp.de
-=====/_/_//_/\_,_/ /_/\_\
More information about the libev
mailing list