Bugzilla – Bug 350662
g-m-m: Patch to improved startup time
Last modified: 2008-04-19 03:23:38 UTC
Created attachment 188705 [details] Patch Attached is a patch which improves the startup time of g-m-m. tile_table_reload was called once for each section created, and then again for all sections in apply_lockdown_settings. This patch makes sure that tile_table_reload is only called once per section. A (nice) side-effect of this is that it also doesn't create unnecessary tiles which it later have to delete as they don't fit in the window. This patch also fixes a bug where the apply_lockdown_settings did not update Recently Used Documents. kcachegrind shows lr cost... ...Before this patch: 2 844 609 350 ...After this patch: 996 026 118
This patch kicks total ass. I submitted it for openSUSE 11.0 along with the fix for bug #230478 (see that bug for the actual patch).
*** Bug 370926 has been marked as a duplicate of this bug. ***