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.78 by root, Fri Apr 25 09:06:27 2008 UTC vs.
Revision 1.79 by root, Fri Apr 25 09:08:16 2008 UTC

962 962
963C<POE>, regardless of underlying event loop (wether using its pure perl 963C<POE>, regardless of underlying event loop (wether using its pure perl
964select-based backend or the Event module) shows abysmal performance and 964select-based backend or the Event module) shows abysmal performance and
965memory usage: Watchers use almost 30 times as much memory as EV watchers, 965memory usage: Watchers use almost 30 times as much memory as EV watchers,
966and 10 times as much memory as both Event or EV via AnyEvent. Watcher 966and 10 times as much memory as both Event or EV via AnyEvent. Watcher
967invocation is almost 700 times slower than with AnyEvent's pure perl 967invocation is almost 900 times slower than with AnyEvent's pure perl
968implementation. The design of the POE adaptor class in AnyEvent can not 968implementation. The design of the POE adaptor class in AnyEvent can not
969really account for this, as session creation overhead is small compared 969really account for this, as session creation overhead is small compared
970to execution of the state machine, which is coded pretty optimally within 970to execution of the state machine, which is coded pretty optimally within
971L<AnyEvent::Impl::POE>. POE simply seems to be abysmally slow. 971L<AnyEvent::Impl::POE>. POE simply seems to be abysmally slow.
972 972

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines