I have a Virtual build server that I keep internally on a 5 year old Quad Core Xeon E5420 with 8 GB of RAM. In the Hyper V settings for that VM, I have 2 cores and 4GB of RAM dedicated to it.
I took this VM and migrated it to an Azure Medium VM (2 cores, 3.5 GB RAM). I was hoping to get a performance increase, but the reality was drastically different...
Here are my Performance metrics for the same build process across 3 different machines:
Intel i5-3350 @ 3.0 GHz, 4GB RAM : Build Time = 32 minutes
VM (stated above) Running internally : Build Time = 67 minutes
VM (above) Running on Azure : Build Time = 97 minutes!!!
My build process consists of building 55 projects in Visual Studio, then Obfuscating 7 of them with Dotfuscator Pro and signing the output.
Why is the performance on the Azure machine significantly poorer than my 5-6 year old Xeon-powered Hyper-V host?