I'm developing a WP theme, based on _s default theme with WP 4.1.1.
I keep getting a TTFB(time to first byte) of 22s, consistently both on the front and back of the site, while on localhost.
Here's a print from DevTools:
I'm using the Debug Bar plugin, so I can see on the Queries and Profiler tabs that this is not a database or execution time problem(the sum of both takes 700ms). I guess it's not a rewrite problem either, since it behaves the same on the default permalink structure.
Other wordpress sites on my www don't have the same problem, so I'm discarding the server configuration. I also tried to load in incognito mode, without any difference.
Is there a way to debug this a little deeper?