Elapsed time with AsyncClient seems to include wait time #2882
Unanswered
diije
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there!
I'm trying (amongst other things) to get response time data of requests, in order to measure the performance of an internal tool.
On paper,
Response.elapsedgives me exactly what I need.However, when switching to
AsyncClientin order to handle higher requests volumes, it seems theelapsedvalue also includes the "wait" time between the creation of the requests and the moment it's executed.IMHO that's not the behavior we want :
elapsedshould indicate the actual "network" time.Hope I'm understandable 😂
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions