We\'ve built a vagrant box for our development box and we are facing some latency issues.
Issues:
You need also to don't share vendor folder between host and vagrant, if you are doing that. Because reading of shared files are slow. Take look at this link. In order to do that you will need to change composer.json file inside you symfony2 project :
"config": {
...,
"vendor-dir": "/some_new_location/vendor"
},
and also change app/autoload.php
.
$loader = require '/some_new_location/vendor/autoload.php';
After doing that run composer install.
There are also some resources for reading :