I am developing a site on my localhost. I used WAMP but it takes too long to load pages from time to time. Something like 20 seconds execution time according to devel. Not on every page, not every time, but happens often enough to disrupt any kind of work I am trying to do. After no much success in debugging the problem I decided to try "DAMP" the Acquia stack for Drupal.
The difference is enormous- execution time is less than 1000 ms, which although much is something workable for dev. stage; Memory used peaks at 12 MB instead of 50 in wamp.
Still there is this problem of pages not loading fully. When I click on a link the browser shows that it is "connecting" and it will stay like that indefinitely (takes more than 2 minutes to time out), but if I interrupt and refresh the page loads instantly (100-300 ms) This again would be acceptable if it didn't interfere with my work. I can't add or delete content because of this. It just stays on "connecting" and on refresh it hasn't made the action.
So my question is what makes acquia stack not finishing the page loads and wamp server to be so damn slow?
I am talking about drupal 7, hardware shouldn't be an issue (Core 2 duo at 3.1 Ghz, and 3 GB RAM, somewhat old, but still kicking)