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.66 by root, Fri Apr 25 06:58:31 2008 UTC vs.
Revision 1.67 by root, Fri Apr 25 06:58:38 2008 UTC

867 867
868To give you an idea of the performance and overheads that AnyEvent adds 868To give you an idea of the performance and overheads that AnyEvent adds
869over the backends directly, here is a benchmark of various supported event 869over the backends directly, here is a benchmark of various supported event
870models natively and with anyevent. The benchmark creates a lot of timers 870models natively and with anyevent. The benchmark creates a lot of timers
871(with a zero timeout) and io watchers (watching STDOUT, a pty, to become 871(with a zero timeout) and io watchers (watching STDOUT, a pty, to become
872writable), lets them fire exactly once and destroys them again. 872writable, which it is), lets them fire exactly once and destroys them
873again.
873 874
874Explanation of the fields: 875Explanation of the fields:
875 876
876I<watcher> is the number of event watchers created/destroyed. Sicne 877I<watcher> is the number of event watchers created/destroyed. Sicne
877different event models have vastly different performance each backend was 878different event models have vastly different performance each backend was

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines