Welcome to Microsoft Q&A!
This is a known issue, and a fix is underway. The cause of the issue is mentioned here as - The issue is WebScriptHostService is an IHostedService, and as part of startup, it starts the ScriptHost, which starts all the listeners. The app can't start processing http requests until all the hosted services are started up. So, the fact that WebScriptHostService awaits host/listener startup here means http requests can't be processed until that's complete. That means that http requests weren't processed until the 30s startup timer (as configured in TimerTrigger function with 30s delay in this case) invocation completed. You can get more details about the issue on this link.
I tested out with the current version (without the fix) and noticed that this behavior only applies to the initial run of timerTrigger function with RunOnStartup=true. Once the host is initialized, the subsequent runs are in parallel.
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.