On Mon, Oct 9, 2023 at 10:35 PM Mastlex Online wrote:
> Using Ubunto Virtual Machine in windows
>
> El lunes, 9 de octubre de 2023 a las 17:32:05 UTC-3, Mastlex Online escribió:
>> Because in my case, the first time I compile or ad a new requirement it takes 80 minutes
>> When I do it again, t takes 40 minutes
VirtualMachine will always work slower than native environment.
You can try running Linux on the same machine and notice the difference :-)
Also check the vmachine settings, mainly CPU count and RAM (more CPU
cores and more RAM will speed things up but also make your host
computer hiccup).
On old MacBookPro 2015 (4x...@2.4GHz 8GB RAM) the first build takes
around 50 minutes.
On FreeBSD virtual machine using BHyve hypervisor (4x...@3.8GHz 20GB
RAM) with Debian11 inside the first build takes around 35 minutes.
Also I am accessing Android phone over adb using dedicated pci-e usb
3.0 card.
All dependencies needs to be built from sources so it will always take
some time :-(
When you make big changes in buildozer.spec often also you need to
`buildozer appclean` and start from scratch. I have that problem too.
But as a result you get optimized fast application.
--
CeDeROM, SQ7MHZ,
http://www.tomek.cedro.info