Maybe you have been in a situation where you have an app and when you publish it to Azure its performance is different from your desktop.
I thought the problem was disk but eventually I found that at least in my case the problem was CPU.
Modern workstations have powerful processors. Mine is no exception:
However Azure processors are Xeon running at 2.4 GHz. The difference in CPU can affect you app.
How can then I test my app to be certain of its behavior on Azure?
Well you can tweak your processor to run at another speed. An easy way to do that is:
- Go to Control Panel
- Power Options
- For your plan click Change Plan Settings
- On the Change settings for the plan select “change advanced power settings”
- Go to Processor power management and change Maximum processor state. In my case to get to 2.4 GHZ I have to change the setting to 72%
NOTE: If the maximum and minimum processor state do not appear you might need to go your BIOS and disable Virtualization.