Hello, @untymage !
Are you sharing folders between the Vagrant box and Windows? This slowness is the case when you are sharing folders between different filesystems. There are some things you can do to optimize it, but it will never be as faster than running it on the same filesystem. The docs for Homestead says the following:
When using NFS on Windows, you should consider installing the vagrant-winnfsd plug-in. This plug-in will maintain the correct user / group permissions for files and directories within the Homestead box.
Take a look: https://laravel.com/docs/master/homestead#configuring-homestead The docs also say to specify the filesystem like:
folders:
- map: ~/code
to: /home/vagrant/code
type: “nfs”
So check the plugins available for Vagrant. It will help a little. If speed is important to you, install PHP directly on Windows to run it locally or put your projects inside the VM and access it remotely or via SSH or Samba share. Microsoft is customizing its own Linux kernel to be used on WSL2; so it will be an option for the future. For now, a local Windows installation or a customized VM on Hyper-V is the best options. Let me know if it helps.