Features/Optimize TreeViews: Difference between revisions

Godiard (talk | contribs)
Godiard (talk | contribs)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
[[Category:Feature Page Incomplete]]
[[Category:FeatureLanded|Optimize TreeViews]]
[[Category:Feature|Optimize TreeViews]]
</noinclude>
</noinclude>


Line 14: Line 13:


== Current status ==
== Current status ==
* Targeted release: 0.102
* Targeted release: 0.104
* Last updated: Feb 24, 2014
* Last updated: Nov 17, 2014
* Percentage of completion: 60%
* Percentage of completion: 90%


== Detailed Description ==
== Detailed Description ==
Line 72: Line 71:


== How To Test ==
== 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
To test the changes in the journal we used a python program to start the journal window from a terminal.
You can download it here [http://dev.laptop.org/~gonzalo/start_journal.py]
 
To use it do:
 
     python -m cProfile start_journal.py > profile.txt
 
After run it in a Sugar terminal, the view jump to the Home, but in the frame you can see two journal icons.
The second is the profiled version. In the toolbar have a Stop button.
After stop, you can check the profile.txt file.


== User Experience ==
== User Experience ==
Line 93: Line 100:
== Comments and Discussion ==
== Comments and Discussion ==
Your comments are very welcome. Please discuss through the mailing list.
Your comments are very welcome. Please discuss through the mailing list.
The initial announcement in the mailing list is here [http://lists.sugarlabs.org/archive/sugar-devel/2014-February/047236.html]