[Phpmyadmin-devel] Query statistics chart slows down page load

Tyron Madlener tyronx at gmail.com
Mon Aug 8 13:11:57 CEST 2011

On Thu, Aug 4, 2011 at 5:10 PM, Piotr Przybylski <piotr.prz at gmail.com> wrote:
> Hi,
> Query statistics tab greatly increases page load time in my browser -
> I get about 5s delay before tabs are created which is IMO too slow.
> Removing "<?php printQueryStatistics(); ?>" from the code decreases it
> to less than a second and causes page load event to be fired about 10
> seconds earlier (at 2nd second instead of 12th).
> I think this should be fixed, eg. by initializing chart only when user
> actually navigates to it.

I've now merged rgbcolor.js into canvg.js and set up the status page
to load the monitor code on demand (when the tab is clicked).
For me on localhost the page now loads twice as fast (unless you had
the monitor tab active last load, since it remembers the last active

> --
> Regards,
> Piotr Przybylski
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Phpmyadmin-devel mailing list
> Phpmyadmin-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel

More information about the Developers mailing list