While the MetaWeblog API module authentication (?) bug is being fixed, I have been using the CP to edit posts to my small weblog (not using MSM).
It is frustratingly slow. Almost useless. As I began to create this topic, I opened the CP and chose to create a “new entry.” Here are the data from EE’s own profiler of the time taken to render the entry form. Appalling.
———- <snip>——————————-
Loading Time: Base Classes 2.1807
Total Execution Time 37.0882
Controller Execution Time ( Content Publish / Entry Form ) 35.0244
———- </snip>—————————-
Those data are especially bad: typically the total execution time is about 8 - 12 seconds. But still…
I have no idea what the problem is; I don’t even know how how much of the blame rests with EE. I have found EE2 to be MUCH slower than EE1 (and that was pretty leisurely). But the DB queries are apparently running quickly. To open the edit form there are 44 queries every one of which runs in less than 0.3 seconds and most in less than 0.05 seconds.
I’m not sure what “Controller Execution Time” means (it’s not in the EE docs)? Whatever it means, it is pretty close to the time it takes to actually render the page in my browser.
I’m on the other side of the Pacific ocean from my server (a Joyent shared-hosting Sun Opteron; pretty fast, not overloaded: I’ve checked with the Joyent techs). But the trans-Pacific latency is very small these days: maybe 0.03 seconds. Simple web pages and images served from my domain render very quickly (< 0.42 seconds) So the latency of distance is not the problem.
The server is running PHP5 with Zend optimization and a few standard libraries (deflate and the like). My htaccess file is pretty standard (rewriting the RSS feed links, ‘deflating’ text type files, setting caching for different assets). In EE itself I am running only a few standard First-Party modules, Solspace Tag (modules + extension), a few plugins (trunchtml, excerpt, Low Nice Date, Low Yearly Archives) and a few extensions (Low No Spam, CP Analytics). I am not using the Pages module or static pages (and don’t have the sort of traffic that would justify it).
BTW: checking installed Modules in the CP is faster than opening an edit form: “Script executed in 8.0794 seconds - 20 SQL queries used”. But this is still a very long time for 20 queries, each of which ran in the nominal time.
I have tried disabling extensions with no apparent impact on the speed of the CP interface.
——————————-
Apologies for the length of this message. I’m prepared to believe that it is not the EE code or installation, but the Joyent techs say they see no problems with the server itself.
I’ve run out of ideas on how to debug this problem. If you have some suggestions, I’d be grateful for them.
Best,
Peter