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.73 by root, Fri Apr 25 07:47:12 2008 UTC vs.
Revision 1.74 by root, Fri Apr 25 07:47:22 2008 UTC

948The C<Tk> adaptor works relatively well. The fact that it crashes with 948The C<Tk> adaptor works relatively well. The fact that it crashes with
949more than 2000 watchers is a big setback, however, as correctness takes 949more than 2000 watchers is a big setback, however, as correctness takes
950precedence over speed. Nevertheless, its performance is surprising, as the 950precedence over speed. Nevertheless, its performance is surprising, as the
951file descriptor is dup()ed for each watcher. This shows that the dup() 951file descriptor is dup()ed for each watcher. This shows that the dup()
952employed by some adaptors is not a big performance issue (it does incur a 952employed by some adaptors is not a big performance issue (it does incur a
953hidden memory cost inside the kernel, though). 953hidden memory cost inside the kernel, though, that is not reflected in the
954figures above).
954 955
955C<POE>, regardless of underlying event loop (wether using its pure perl 956C<POE>, regardless of underlying event loop (wether using its pure perl
956select-based backend or the Event module) shows abysmal performance and 957select-based backend or the Event module) shows abysmal performance and
957memory usage: Watchers use almost 30 times as much memory as EV watchers, 958memory usage: Watchers use almost 30 times as much memory as EV watchers,
958and 10 times as much memory as both Event or EV via AnyEvent. Watcher 959and 10 times as much memory as both Event or EV via AnyEvent. Watcher

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines