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.101 by root, Sun Apr 27 19:36:55 2008 UTC vs.
Revision 1.102 by root, Sun Apr 27 21:16:26 2008 UTC

1210speed most when you have lots of watchers, not when you only have a few of 1210speed most when you have lots of watchers, not when you only have a few of
1211them). 1211them).
1212 1212
1213EV is again fastest. 1213EV is again fastest.
1214 1214
1215The C-based event loops Event and Glib come in second this time, as the 1215Perl again comes second. It is noticably faster than the C-based event
1216overhead of running an iteration is much smaller in C than in Perl (little 1216loops Event and Glib, although the difference is too small to really
1217code to execute in the inner loop, and perl's function calling overhead is 1217matter.
1218high, and updating all the data structures is costly).
1219
1220The pure perl event loop is much slower, but still competitive.
1221 1218
1222POE also performs much better in this case, but is is still far behind the 1219POE also performs much better in this case, but is is still far behind the
1223others. 1220others.
1224 1221
1225=head3 Summary 1222=head3 Summary

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines