<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 27, 2015 at 7:10 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nisard,<br>
you wrote in your blog "I carried out further performance analysis for<br>
page-related settings by profiling performance with xdebug. The function<br>
call to PMA_userprefsPageInit() takes most of the time. I couldn't see<br>
any way to reduce this time, though."<br>
<br>
In PMA_userprefsPageInit() there are five functions called; did you<br>
verify which of those is taking most of the time?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Marc Delisle | phpMyAdmin<br>
<br>
_______________________________________________<br>
Developers mailing list<br>
<a href="mailto:Developers@phpmyadmin.net">Developers@phpmyadmin.net</a><br>
<a href="http://lists.phpmyadmin.net/mailman/listinfo/developers" rel="noreferrer" target="_blank">http://lists.phpmyadmin.net/mailman/listinfo/developers</a><br>
</font></span></blockquote></div><br>Hi Marc,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Here is the slightly more detailed analysis result,</div><div class="gmail_extra"><br></div><div class="gmail_extra"><font face="arial, helvetica, sans-serif">PMA_PageSetting->__construct() takes around 35% of the page load for my test.</font><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><font face="monospace, monospace">PMA_PageSetting->__construct()</font></div><div class="gmail_extra"><font face="monospace, monospace">  63.73% -> PMA_userprefsPageInit()</font></div><div class="gmail_extra"><font face="monospace, monospace">  22.70% -> PMA_PageSettings->_getPageSettingsDisplay()</font></div><div class="gmail_extra"><font face="monospace, monospace">  ...</font></div><div class="gmail_extra"><font face="monospace, monospace"><br></font></div><div class="gmail_extra"><span style="font-family:monospace,monospace">PMA_PageSettings->_getPageSettingsDisplay()</span><font face="monospace, monospace"><br></font></div><div class="gmail_extra"><span style="font-family:monospace,monospace">  98.81% -> FormDisplay->getDisplay()</span></div><div class="gmail_extra"><span style="font-family:monospace,monospace">  ...</span></div><div class="gmail_extra"><span style="font-family:monospace,monospace"><br></span></div><div class="gmail_extra"><span style="font-family:monospace,monospace">PMA_userprefsPageInit()</span><span style="font-family:monospace,monospace"><br></span></div><div class="gmail_extra"><span style="font-family:monospace,monospace">  92.75% -> ConfigFile-></span><font face="monospace, monospace">updateWithGlobalConfig()</font></div><div class="gmail_extra"><font face="monospace, monospace">  ...</font></div><div class="gmail_extra"><font face="monospace, monospace"><br></font></div><div class="gmail_extra"><span style="font-family:monospace,monospace">ConfigFile-></span><font face="monospace, monospace">updateWithGlobalConfig()</font><font face="monospace, monospace"><br></font></div><div class="gmail_extra"><font face="monospace, monospace">  58.29% -> ConfigFile->set (492 times total)</font></div><div class="gmail_extra"><font face="monospace, monospace">  26.48% -> array_walk performing ConfigFile->_flattenArray() (508 times total)</font></div><div class="gmail_extra"><br></div><div class="gmail_extra">Percentages are relative to the parent call.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I still have a slight hope that we can reduce this numbers as we don't need all the config options processed every time, but I am not so sure about it.</div><div class="gmail_extra"><br></div><div class="gmail_extra">-- <br><div class="gmail_signature"><div dir="ltr"><div>Nisarg Jhaveri</div><div>નિસર્ગ ઝવેરી<br></div></div></div>
</div></div>