I am having Window 7 OS with Virtual Box which has Ubuntu .
When i am executing the code in Virtual box it takes 5.9sec .
When i am executing the same code on actual ubuntu OS it takes 2.9sec.
I have checked CPU info .In Virtual Box it gives CPU Speed 2968.448 MHZ and on actual ubuntu OS it gives 1600 MHz.
Can anybody pls explain the reason for this?
Copyright Notice:Content Author:「Jasdeep Singh Arora」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/15039368/comparing-virtualboxubuntu-with-actual-ubuntu