Feature Page Incomplete]] [[Category:Feature|Optimize TreeViews]]
== Current status ==
* Targeted release: 0.
102* Last updated: Feb 24, 2014* Percentage of completion: 60%
== Detailed Description ==
* Sugar CellRendererIcon has too much logic inside. It should only handle how to render itself.
* Sugar CellRendererIcon is connected to many signals. Just detaching them while scrolling provides a performance boost.
* Sugar CellRendererIcon could benefit from caching values instead of calculating them on each render.
We couldn't find what's wrong with the Journal. We guess there is a DBus blocking call, but we could't confirm that .
=== GTK+ concepts ===
* GtkCellRenderer — An object for rendering a single cell https://developer.gnome.org/gtk3/stable/GtkCellRenderer
== Benefit to Sugar ==
== How To Test ==
We did a test program that has a list (treeview) with many rows. Each row has a cellrenderer icon. The program automatically starts scrolling until the end of the list is reached. Then we can get profiling information using Python cProfile http://docs.python.org/2/library/profile.html . We ran the test like this inside a Sugar shell:
python -m cProfile
test_treeview.py > profile.txt
== User Experience ==
== Comments and Discussion ==
Your comments are very welcome. Please discuss through the mailing list.