--- AnyEvent/lib/AnyEvent.pm 2008/04/25 13:51:32 1.85 +++ AnyEvent/lib/AnyEvent.pm 2008/04/25 14:01:48 1.86 @@ -966,12 +966,11 @@ natively. The pure perl implementation is hit in a few sweet spots (both the -zero timeout and the use of a single fd hit optimisations in the perl -interpreter and the backend itself, and all watchers become ready at the -same time). Nevertheless this shows that it adds very little overhead in -itself. Like any select-based backend its performance becomes really bad -with lots of file descriptors (and few of them active), of course, but -this was not subject of this benchmark. +constant timeout and the use of a single fd hit optimisations in the perl +interpreter and the backend itself). Nevertheless this shows that it +adds very little overhead in itself. Like any select-based backend its +performance becomes really bad with lots of file descriptors (and few of +them active), of course, but this was not subject of this benchmark. The C module has a relatively high setup and callback invocation cost, but overall scores on the third place. @@ -992,7 +991,7 @@ hidden memory cost inside the kernel, though, that is not reflected in the figures above). -C, regardless of underlying event loop (wether using its pure perl +C, regardless of underlying event loop (whether using its pure perl select-based backend or the Event module) shows abysmal performance and memory usage: Watchers use almost 30 times as much memory as EV watchers, and 10 times as much memory as both Event or EV via AnyEvent. Watcher