2009/8/10 Jean-Philippe Bernardy <berna...@chalmers.se>:
>
> Hi,
>
> With the recent fixes of memory leaks, much progress has been made in
> terms of speed.
> I'm not talking about super fast/low CPU usage mind you, but I think
> we're back to the
> speed of last year, if not faster. So if you had given up on Yi for a
> while because of speed, it might
> be time to try again.
>
> There remains the issue of linux+vty idle CPU consumption: when after
> some time, Yi
> consumes some cpu when idle -- I still bet this is a GHC RTS issue --
> hopefully fixed with GHC 6.12.
> I'm talking about 25% on this machine. Strangely enough, CPU usage
> drops again if one types
> (slowly), so in practice this isn't very annoying, at least when power
> consumption isn't critical.
>
> I'm now working on speeding up the display of syntax-based modes in
> some bad cases, we'll
> see if that gets anywhere in the next couple of weeks.
>
> Cheers,
> JP.

Great news. Could you give a quick summary of how you did it? Do you
know if it was a leak I introduced (in Vty) that was causing most of
the slowness, or were all the leaks important?

Perhaps you could give some tips for Yi developers who want to be sure
they aren't creating bugs in the future. Is just "-hc" cost-center
stack profiling enough?

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to