I have a test wordpress intallation on localhost and recently I noticed the administration pa开发者_高级运维ges load very slow. Everytime I'm connected to the internet and open the /wp-admin pages it takes 14-15 seconds to load. This does not happen in the front end.
Is there any way to get info about all the http requests that are being made in the page, just like getting the # of queries (get_num_queries
)?
What do you mean by http requests? You mean requested resources like images and such? Those you can see using a tool like Firebug's "Net tab".
Not sure whether there's much that can be done on that level, though. Wordpress is rather slow and fat - the fate of every web application that becomes more and more complex....
If you have no root privileges on the server your hosting runs on (to e.g. install an opcode cache like APC) the Wordpress back-ends slowness can be best helped by using Google Gears (see the "Turbo" button in your backend).
[EDIT: New Answer] After OP clarification, here is the changed answer:
You can install xDebug and enable profiler in that. Here is the step-by-step tutorial on how to do that: http://codex.wordpress.org/Testing_WordPress_Performance
This will tell you how much time spent in what part of code.
Old Answer:
I advise you to install Fiddler and get all the HTTP requests made, their responses and time taken.
if you use Chrome you can use the developer-view or you can install firebug for Firefox
精彩评论