Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measure GetHttpClient call as well #2690

Merged
merged 1 commit into from
Jun 9, 2021
Merged

Measure GetHttpClient call as well #2690

merged 1 commit into from
Jun 9, 2021

Conversation

bgavrilMS
Copy link
Member

Fixes # .

Changes proposed in this request
Measure GetHttpClient call in "time spent in HTTP"

Testing

Performance impact

@bgavrilMS bgavrilMS merged commit 6e1523f into master Jun 9, 2021
@bgavrilMS bgavrilMS deleted the bogavril/timeinhttp branch June 9, 2021 21:15
@@ -223,6 +221,8 @@ private static bool HasRetryAfterHeader(HttpResponse response)

Stopwatch sw = Stopwatch.StartNew();

HttpClient client = GetHttpClient();

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was more thinking logging the time it takes to get it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants