Python workers basic test very slow using ab test

Python Worker test endpoint in ab test results are very slow what would be the reason? taking even 2.4s for a basic response to on Hello World function.