Show database queries total, memory usage & execution time (WordPress)

Advertisements

is a platform that needs no comment. As it is WordPressThe flexible, as it may require much more resources CPU / RAM If excess is plugins or functions.

For blogs and sites created on WordPress have to bear a traffic of users, it is very important that pages, functions si plugins be optimized. Before we get to see how much optimization should memory need to access each page of the site / blog, that is the number of queries to the database (database queries) And the time they are executed (execution time).

Show database queries total, memory usage & execution time (WordPress)

Show database queries total, memory usage & execution time.

To obtain a status You must insert the three lines below footerThe ground (in source - footer.).

Loaded in <? Php timer_stop (1);?> seconds.

Queries Executed <? Php echo get_num_queries ();?>.

Peak memory usage <? Php echo round ((memory_get_peak_usage () / 1024));?> KB.

As will be fewer queries to the database (mysql), The less it will consume less memory and load time will be lower. This means lower costs to pay services and better optimization (SEO) Search engine. Especially for Google!, Which focuses heavily during the loading of pages.

Advertisements

PROGRAMS, IT tutorials and news by e-mail

SAVE TO FAVORITES / bookmarks

Comment?

Posts related

Search on Google ::

Pride ako tabs / zalozky do bloggeru, htaccess virtual memory, joomla outllaws virus, a para google chrome internet explorer outlook redirecionando, presmerovanie mozilla na yahoo, mi cuenta porque no me redirigi a yahoo facebook page, przekierowanie not LiveJasmin, rimozione virus reindirizzamento Homepage, вирус в файле. htaccess, save video tube virus, redirecionamento para joomla virus páginas, wordpress htaccess RewriteRule, htaccess how a, plik wordpress virus, htaccess ftp Transference typo,
ArabicBulgarianChinese (Simplified)Chinese (Traditional)CroatianCzechDanishDutchEnglishEstonianFinnishFrenchGermanGreekHebrewHungarianIndonesianItalianJapaneseKoreanLatvianLithuanianNorwegianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishTurkishUkrainian