Marc,

On Mon, Apr 12, 2010 at 05:10:29PM +0200, Marc Lehmann wrote:
> If you ran the code unmodified, how did you do that? :)

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).

Please, double-check my patching of runbench just in case.

> Now, since libevent does an enourmous number of pointer operations,
> mutex ops, syscalls etc. per watcher setup in 2.0, I find this a bit
> questionable (but it's possible).

The results are available here:
http://wwww.pps.jussieu.fr/~kerneis/software/files/libev-vs-libevent

libevent2 is very fast, but still beaten when timeouts are involved.

Regards,
-- 
Gabriel Kerneis

Attachment: bench.sh
Description: Bourne shell script

_______________________________________________
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to