Devs,


I made quick tests with debug flag for looking at performances on Gramps 3.4.x and Gramps 4.0.x!

I have a small testcase database, here the results [3.4.8-git|4.0.4-git]:

nb init build tree clicked 1 clicked 2 search and rebuild build_columns list.set_model display_column_sort uistate.show
Person List 4 0,01 0,01 0,05 0,1 0,07 0,17 0,06 0,16 0,01 0,01 0 0,02 0,02 0,05 0,02 0,02 0 0
Family 2 0,05 0 0,07 0,13 0,28 0,29 0,08 0,26 0,05 0 0,01 0,02 0,01 0,11 0 0 0 0
Event 1024 0,09 0,04 0,12 0,21 0,86 3,39 0,55 5,01 0,09 0,04 0,01 0,02 0,02 0,15 0 0 0 0
Place List 789 0,04 0,05 0,12 0,21 0,08 0,38 0,08 0,4 0,04 0,05 0,02 0,04 0,05 0,12 0,01 0 0 0
Source 12 0 0 0,01 0,2 0,01 0,16 0,01 0,15 0 0 0 0,02 0,01 0,17 0 0,01 0 0
Citation List 772 0,03 0,04 0,07 0,16 0,04 0,31 0,03 0,29 0,03 0,04 0,02 0,02 0,02 0,1 0 0 0 0

We can see that:

1. init view can be slower with 3.4.x than with 4.0.x, but still very good.

2. build tree is 2x slower with 4.0.x than with 3.4.x, but still good.

3. to click on column header is really slow for my events table, on 4.0.x

Otherwise, for others tables, it is slower with 4.0.x, but still correct.

4. to set list model is slower with 4.0.x than with 3.4.x.


This seems not only related to migration (gtk2/Gtk3, Introspection)?

Maybe I should also play with profile.

Before, any idea of causes?


PS: I have a Gtk Warning on Place View (Gramps 4.0.x)

(Gramps.py:2583): Gtk-WARNING **: MapsList: missing action MapsList



regards,

Jérôme