benchmarking various event loops with and without anyevent

2008-04-25 Thread Marc Lehmann
Hi! The next release of AnyEvent contains support for a few more backends, notably POE, so AnyEvent is now by definition compatible to POE (before it was only compatible when using an even loop used by POE, such as Event or EV that could be shared). To get a feeling about the overheads imposed

Re: benchmarking various event loops with and without anyevent

2008-04-25 Thread Marc Lehmann
On Fri, Apr 25, 2008 at 11:40:03PM -0400, Uri Guttman [EMAIL PROTECTED] wrote: check out stem's pure perl event loop. there are examples in the Maybe I'll provide a backend for stem. modules. it does things in a different direction and doesn't scan select's bit masks but instead it scans the

Re: benchmarking various event loops with and without anyevent

2008-04-25 Thread Marc Lehmann
On Sat, Apr 26, 2008 at 06:48:55AM +0200, Marc Lehmann [EMAIL PROTECTED] wrote: Well, can't say thereis much demand for it, but if you cna give me a pointer on these things in the docs I can probably come up with one before the next release: Looking at Stem::Event, which hopefully is the

Re: benchmarking various event loops with and without anyevent

2008-04-25 Thread Marc Lehmann
On Sat, Apr 26, 2008 at 07:01:39AM +0200, Marc Lehmann [EMAIL PROTECTED] wrote: And another one: does Stem deal with subsecond delay values? Under what circumstances? AnyEvent guarantees subsecond accuracy currently. Also: The ’hard’ attribute means that the next interval delay starts