Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Localhost MySQL PHP Database Migration Slow Performance Compared To Virtualhost Homestead

[VIRTUAL HOST] Laravel Homestead database migration are so much faster than my [LOCALHOST] Laravel Valet / Vessel / XAMPP /?

Can anyone explain why? Or is there a way to enhance my localhosts speed?

like image 981
Kenneth Avatar asked Oct 19 '17 07:10

Kenneth


1 Answers

VM image is loaded into memory, which would account for the speed difference. In memory usage at the Activity Monitor, VBoxHeadless takes up 1.4G with Laravel Homestead. This is probably the reason why Laravel Homestead is faster than localhost.

like image 183
Jerico Pulvera Avatar answered Nov 14 '22 04:11

Jerico Pulvera