I have this method
class RunningQuizAuthenticationView(APIView): def dispatch(self, *args, **kwargs): print(time.time()) return super(RunningQuizAuthenticationView, self).dispatch(*args, **kwargs) def get(self, request: Request, key: str) -> Response: print(time.time()) ..... ......
Now, once I get both the time, I take the difference of this time, the difference time is about 30 ms, can you explain to me why this is taking so much time, for the login request it takes about 0 ms but for other requests it takes a long time to reach target method from dispatch method, please help me, Thank you