bench2 results
Marc Lehmann
schmorp at schmorp.de
Wed Dec 1 17:57:42 CET 2010
On Wed, Dec 01, 2010 at 04:24:58PM +0100, Aleksandar Lazic <al-anyevent at none.at> wrote:
> I have added the two XS modules for POE and was surprised that the
There are many POE XS modules, which two did you use?
> name sockets create request
> EV 16 34.48 13.37 POE::XS::Loop::Poll 16 34.24
> 13.40 POE::XS::Loop::EPoll 16 34.36 13.20
> Perl 16 44.49 24.44 Glib 16 56.12
> 30.92 Event 16 149.61 69.43
> POE 16 400.60 343.99
>
> Does this mean that with the XS POE could be as fast as EV?
No, it's positively physically impossible, simply because POE has to do
so much more than EV, in addition to what EV does :) But the last time
I benchmarked, even with XS, POE was so far off that I am sure there is
a lot to optimise (I mean, even a factor of ten wouldn't challenge most
other backends).
Maybe what you got *is* EV because the XS module or POE didn't load (try
PERL_ANYEVENT_VERBOSE=1 and run the benchmark to see which event model it
choses).
And last not least you modified runbench2 - how exactly?
> I have run the benchmark at least 5 times, the values above are the
> medium results.
Could you post the benchmark table as a table? As it is now it's very hard
to read.
--
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 anyevent
mailing list