Search   Feed   Browse   Add
Feed items 11 - 19 of 19 for April 2008

perl.loop

...

Benchmarking Stem :) by Marc Lehmann - April 26, 2008

Ok, I have enough for a benchmark, just short of being able to provide aworking implementation.I actually ran out of memory with the Stem implementation, it seems to usea lot of additional memory when running the event loop. I had to reducethe number of handles to 20000.Otherwise, it looks quite good (this is the synthetic benchmark thatdoesn&39;t test event loop performance, just overheads): name watchers bytes create invoke EVEV 100000 244 0.54 0.45 PerlAny ...
http://www.nntp.perl.org/group/perl.loop/2008/04/msg1109.html

Re: benchmarking various event loops with and without anyevent by Marc Lehmann - April 26, 2008

On Sat, Apr 26, 2008 at 01:14:07AM -0400, Uri Guttman <uristemsystems.com> wrote:> actually it makes more sense to me to wrap anyevent in stem. it alreadyYes, after it turned out that stopping the loop also seems to clear eventsit became clear that Stem cannot provide even the stripped down interfaceof anyevent (even when one works aorund the bugs that make it unusable).Too bad, I&39;d liked to benchmark it, but thats almost out of the question(maybe with a quick hack...).-- .
http://www.nntp.perl.org/group/perl.loop/2008/04/msg1108.html

Re: benchmarking various event loops with and without anyevent by Marc Lehmann - April 25, 2008

Hmm, more bugs: sub stopbusywaiting Stem::Event::stop_loop; my $stopper = new Stem::Event::Timer object => $dummy, method => "stopbusywaiting", delay => 0.05, interval => 0.05; bug workaround warn "an"; $stopper->start; Stem::Event::start_loop; $stopper->cancel; warn "bn";This always takes a second, here is an strace: http:ue.tst.eu57e55320bf26d8c4ae403e722bd7e268.txtadding "use Time::HiRes.
http://www.nntp.perl.org/group/perl.loop/2008/04/msg1107.html

Re: benchmarking various event loops with and without anyevent by Marc Lehmann - April 25, 2008

On Sat, Apr 26, 2008 at 01:14:07AM -0400, Uri Guttman <uristemsystems.com> wrote:> >>>>> "ML" == Marc Lehmann <schmorpschmorp.de> writes:> > ML> On Fri, Apr 25, 2008 at 11:40:03PM -0400, Uri Guttman <uristemsystems.com> wrote:> >> check out stem&39;s pure perl event loop. there are examples in the> > ML> Maybe I&39;ll provide a backend for stem.> > actually it makes more sense to me to wrap anyevent in stem. it.
http://www.nntp.perl.org/group/perl.loop/2008/04/msg1106.html

Re: benchmarking various event loops with and without anyevent by Marc Lehmann - April 25, 2008

On Sat, Apr 26, 2008 at 01:14:07AM -0400, Uri Guttman <uristemsystems.com> wrote:> ML> Maybe I&39;ll provide a backend for stem.> > actually it makes more sense to me to wrap anyevent in stem. it alreadyof course, using anyevent always makes sense.however, using anyevent doesn&39;t solve the interoeprability problem: youstill cannot use modules using anyevent when you don&39;t use the anyeventbut the wx interface, for example.> has several event wrappers (pure perl,...
http://www.nntp.perl.org/group/perl.loop/2008/04/msg1105.html

Re: benchmarking various event loops with and without anyevent by Marc Lehmann - April 25, 2008

On Sat, Apr 26, 2008 at 07:01:39AM +0200, Marc Lehmann <schmorpschmorp.de> wrote:> And another one:does Stem deal with subsecond delay values Under what circumstancesAnyEvent guarantees subsecond accuracy currently.Also: The ’hard’ attribute means that the next interval delay starts before the callback to the object is made. If a soft timer is selected (hard is 0), the delay starts after the callback returns. So the hard timer ignores the time taken by the callback..
http://www.nntp.perl.org/group/perl.loop/2008/04/msg1104.html

Re: benchmarking various event loops with and without anyevent by Marc Lehmann - April 25, 2008

On Sat, Apr 26, 2008 at 06:48:55AM +0200, Marc Lehmann <schmorpschmorp.de> wrote:> Well, can&39;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 right place to look, I cnacome up with soem answres and some more refined questions :)Here is a new question:- How do I select a specific event loop backend to be used> - does stem...
http://www.nntp.perl.org/group/perl.loop/2008/04/msg1103.html

Re: benchmarking various event loops with and without anyevent by Marc Lehmann - April 25, 2008

On Fri, Apr 25, 2008 at 11:40:03PM -0400, Uri Guttman <uristemsystems.com> wrote:> check out stem&39;s pure perl event loop. there are examples in theMaybe I&39;ll provide a backend for stem.> modules. it does things in a different direction and doesn&39;t scan> select&39;s bit masks but instead it scans the interesting handles and see> whether their bits are set. it should exhibit good behavior under growth> as all the data are managed in hashes.That is exactly as the...
http://www.nntp.perl.org/group/perl.loop/2008/04/msg1102.html

benchmarking various event loops with and without anyevent by Marc Lehmann - April 25, 2008

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 itwas only compatible when using an even loop used by POE, such as Event orEV that could be shared).To get a feeling about the overheads imposed by the extra layer ofAnyEvent and especially of the performance of the POE backend (which isseverely limited by a number of design problems in POE), I made somebenchmarks.I started with...
http://www.nntp.perl.org/group/perl.loop/2008/04/msg1101.html
Available Archives
- February (1 item)
- April (19 items)
- May (2 items)
- June (2 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact