I was facing slow localhost issue from very long time on Win 7. I tried applying various fixes I found on the net. None really fixed it.
Finally, yesterday I found something which did the trick.
Step 1: Type about.config in firefox. Settings will be opened.
Step 2: Search "network.dns.disableIPv6" and set it to true…You are done. 🙂
More