Skip to content

Perf regression Microsoft.Identity.Web.GraphServiceClient #3256

@JoshLozensky

Description

@JoshLozensky

Microsoft.Identity.Web Library

Microsoft.Identity.Web

Microsoft.Identity.Web version

3.7.1

Web app

Not Applicable

Web API

Protected web APIs call downstream web APIs

Token cache serialization

Not Applicable

Description

The GraphServiceClient.AuthenticateRequestAsync() method is creating a new instance of AllowedHostsValidator on every call and needs to be a static member instead.

Reproduction steps

Call GraphServiceClient.AuthenticateRequestAsync

Error message

No response

Id Web logs

No response

Relevant code snippets

N/A

Regression

No response

Expected behavior

Similar performance as before the new validation went in.

Metadata

Metadata

Assignees

Labels

regression:perfperformance related regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions