<div dir="ltr">Hi all,<br clear="all"><div><br></div><div>Expert Config page is now working(unstable) with an edit button as I mentioned my last GSOC report. So I am currently chasing performance issues on the page.<br><br>
</div><div>I have some questions about it.<br><br></div><div>Note: I am not good at naming things. I will call the "org.openoffice.Office/" part as toplevel below. :)<br></div><div><br></div><div>So-<br><br></div>
<div>Current situation on master:<br></div><div>-We are not traversing all of the settings. There are hardcoded randomly chosen 3 toplevels which returns about 100-120(don't know how much exactly) options. [1]<br>-Giving the root as only toplevel causes about 20 minutes of waiting to page load.<br>
</div><div><br></div><div>Did some profiling with a few more toplevels given:<br></div><div>-Page load is too slow because of CuiAboutConfigTabPage::FillItems.[2]<br></div><div>-Figured out ListBox is the main cause of the issue.<br>
</div><div>-Thorsten sent a patch about this issue to me. It was putting toggles for setting update mode.[3]<br></div><div>-I put it outside of the method on local. It improved performance. Reduced the wait time from ~20mins to ~15sec with "/" as an only toplevel.<br>
<br></div><div>So-<br></div><div>Traversing the options doesn't takes too much actually. Main problem is listbox. You can make try it with clicking on header bar for changing sort order. It is also causes same waiting time on page load. <br>
<br></div><div>What should I do next:<br></div><div>1-Put a checkbox with a warning. Like fontsubs page.<br></div><div>2-Don't list all returned options directly.<br></div><div>3-Something else?<br><br></div><div><br>
</div><div>Best,<br><br>[1] <a href="http://opengrok.libreoffice.org/xref/core/cui/source/options/optaboutconfig.cxx#117">http://opengrok.libreoffice.org/xref/core/cui/source/options/optaboutconfig.cxx#117</a><br>[2] <a href="http://opengrok.libreoffice.org/xref/core/cui/source/options/optaboutconfig.cxx#159">http://opengrok.libreoffice.org/xref/core/cui/source/options/optaboutconfig.cxx#159</a> <br>
[3] <a href="http://opengrok.libreoffice.org/xref/core/cui/source/options/optaboutconfig.cxx#165">http://opengrok.libreoffice.org/xref/core/cui/source/options/optaboutconfig.cxx#165</a>, <a href="http://opengrok.libreoffice.org/xref/core/cui/source/options/optaboutconfig.cxx#279">http://opengrok.libreoffice.org/xref/core/cui/source/options/optaboutconfig.cxx#279</a><br>
</div><div><br>-- <br>Efe Gürkan YALAMAN<br><a href="http://about.me/efegurkan" target="_blank">http://about.me/efegurkan</a><br>
</div></div>