On Mon, 2007-03-05 at 23:16 -0800, Neal Norwitz wrote: > Is any code that is known to have perf problems? I can code review > for problems.
Well, we have performance issues almost everywhere, both in sugar and in the activities. AFAIK they are not python related though. The bottlenecks are usually the X server and cairo. The only cases I know where python might be involved are: * Activities startup. Just "import gtk" is taking a few seconds. (Though the maemo people which did some research and work on it was blaming it on the bindings itself, which requires to link a huge number of symbols at startup) * Frame animation. We have between 20% and 40% percent of CPU usage in python. I have not tried to profile it yet but it might very well be cairo. * Activity startup animation. We are currently redrawing the whole activities donut there, for every animation frame. We can optimize to avoid that, but still it seem really too slow. We are doing a few math.sin/cos there, I wonder if they are at least partially to blame. Just brainstorming. We really need to have someone spend time profiling to find the actual bottlenecks. Marco _______________________________________________ Sugar mailing list [email protected] http://mailman.laptop.org/mailman/listinfo/sugar
