ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent.pm (file contents):
Revision 1.79 by root, Fri Apr 25 09:08:16 2008 UTC vs.
Revision 1.80 by root, Fri Apr 25 09:11:59 2008 UTC

921=head2 Discussion 921=head2 Discussion
922 922
923The benchmark does I<not> measure scalability of the event loop very 923The benchmark does I<not> measure scalability of the event loop very
924well. For example, a select-based event loop (such as the pure perl one) 924well. For example, a select-based event loop (such as the pure perl one)
925can never compete with an event loop that uses epoll when the number of 925can never compete with an event loop that uses epoll when the number of
926file descriptors grows high. In this benchmark, only a single filehandle 926file descriptors grows high. In this benchmark, all events become ready at
927is used (although some of the AnyEvent adaptors dup() its file descriptor 927the same time, so select/poll-based implementations get an unnatural speed
928to worka round bugs). 928boost.
929 929
930C<EV> is the sole leader regarding speed and memory use, which are both 930C<EV> is the sole leader regarding speed and memory use, which are both
931maximal/minimal, respectively. Even when going through AnyEvent, there are 931maximal/minimal, respectively. Even when going through AnyEvent, there are
932only two event loops that use slightly less memory (the C<Event> module 932only two event loops that use slightly less memory (the C<Event> module
933natively and the pure perl backend), and no faster event models, not even 933natively and the pure perl backend), and no faster event models, not even

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines