We are experiencing a performance issue on Azure functions under load where there is a lag time between the call to the Azure function and the code in the function executing.
The first log entry for the Azure function call in Application insights says:
Function started (Id=6e2a7c0e-7190-4f4b-a146-9b957b49f4aa)
After that there is a random lag of a few seconds before the first log from our code which is the first line of code in our function.
We are only seeing this lag on load.
The Function App is running under an App Service plan with a premium pricing tier. The functions are all HTTP triggers.
Any ideas why this could be happening and what the "Function started" log means?