My drupal site on the development machine loads the pages slow. A page takes between 1500ms and 2500ms. The same site in production on the internet loads pages quick.
Using development tools in drupal I can see that for a simple page with some text and a few custom queries the MySql queries takes about 40ms.
Using YSlow I can see that loading the doc takes more than 2 seconds, all the other components like images, js, css about 500ms.
Disabeling virus scanner makes it another 100ms faster.
I have tried to narrow down the problem but cannot find it. I still have about 1.5 seconds delay I cannot explain. My development environment is:
Windows 7 (64bit) Apache/2.2.21 (Win32) mod_fcgid/2.3.6 PHP 5.3.8 MySQL Server 5.5
I would like some advice as where to look for the cause of this problem.