Comment #13 on issue 265 by m.niloc: Slow pasting http://code.google.com/p/yi-editor/issues/detail?id=265
Corey, In my test there's no difference in runtime between vty 3.1.8 and 3.1.9, and Graphics.Vty barely shows up in the profile: less than 10%. And it's asynchronous so this 10% isn't even on the critical path. Yi does perform rendering in a thread separate the editor actions - this is why adding a threadDelay to Vty.refresh speeds up my test (though adds latency). The bottleneck is Yi.UI.Vty.prepareAction, taking 40% inherited time and alloc. And that 40% is much worse than it sounds because it's critical; removing it speeds up pasting by ten times. Attachments: yi.prof 222 KB -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---