Ok, apparently it makes no difference which kind of file you edit. Profiling gives this:
main Yi.UI.Vty 52.6 0.0 diffs Graphics.Vty 21.9 50.3 fillSeg Graphics.Vty.Types 5.9 2.9 drawText Yi.UI.Vty 3.8 17.4 MAIN MAIN 3.3 0.0 <|> Graphics.Vty.Types 2.0 1.5 renderBS Graphics.Vty.Types 1.9 2.4 toIndexedStringForward Yi.Buffer.Implementation 1.8 8.2 paintChars Yi.UI.Vty 1.4 6.7 drawWindow Yi.UI.Vty 0.5 2.1 setSty Yi.UI.Vty 0.4 3.8 toIndexedString Yi.Buffer.Implementation 0.4 1.5 A lot of time is spend in Yi.UI.Vty, which apparently does nothing but wait on MVars. I suspect this is a wrong conclusion, or the information is misleading. If anybody has an idea, that would be very welcome. -- JP. On Thu, Jan 8, 2009 at 1:10 PM, Jean-Philippe Bernardy <[email protected]> wrote: > On Thu, Jan 8, 2009 at 12:04 PM, Lemmih <[email protected]> wrote: > >> I can second this. Yi comes unbearably slow on large files under >> Linux. >> Moving the cursor becomes very sluggish and the CPU usage goes to >> 100%. This is with the latest darcs version on a fairly fast machine. > > This may have any number of causes. Could you, for example, provide > the file you edit? > -- JP > --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list [email protected] http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---
