Re:Code rot and why I picked OpenBSD
by xtrumanx on Sunday January 04, 2015 @12:42PM
(#8835117)
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.
[ Parent
| on HN ]
Are 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-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...).
If 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-vir... to get an idea of how bad this is.