4 ms·
I tried that out and noticed minification and bundling of my js code taking several seconds rather than a couple of milliseconds. Am I doing it wrong or is that
by xtrumanx 12y ago
I tried that out and noticed minification and bundling of my js code taking several seconds rather than a couple of milliseconds. Am I doing it wrong or is that to be expected? I was using Ubuntu in virtual box on win8.
- fencepost 12y agoAre available hardware virtualization features enabled in the BIOS? A little digging brings a 9/2014 comparison of virtualization software that notes VirtualBox as a distant third on performance benchmarks (http://www.tekrevue.com/parallels-10-fusion-7-virtualbox-benchmark/13/ http://www.tekrevue.com/parallels-10-fusion-7-virtualbox-ben...) and an Ubuntu thread noting that its performance under VirtualBox leaves much to be desired (http://discourse.ubuntu.com/t/virtualbox-or-vmware-for-linux-on-windows/1810 http://discourse.ubuntu.com/t/virtualbox-or-vmware-for-linux...).
- kcorbitt 12y agoIf the files are in a Virtualbox shared folder from the host OS, that performance is to be expected. Just google "Virtualbox shared folder performance."[1] If you're using Vagrant to manage the VM it's easy to work around this by switching the file share mechanism to nfs. If you're not using vagrant, you can do this manually too, or just move the files to a non-shared folder inside the VM. [1] Scroll down to the graph at http://mitchellh.com/comparing-filesystem-performance-in-virtual-machines http://mitchellh.com/comparing-filesystem-performance-in-vir... to get an idea of how bad this is.