dotnet/aspnetcore

Consider using ActivatorUtilities.CreateFactory in AuthenticationHandlerProvider

Open

#2,948 opened on Mar 12, 2018

View on GitHub
 (14 comments) (0 reactions) (0 assignees)C# (10,653 forks)batch import
affected-fewarea-networkingenhancementfeature-http-abstractionshelp wantedseverity-nice-to-have

Repository metrics

Stars
 (37,933 stars)
PR merge metrics
 (Avg merge 16d 9h) (258 merged PRs in 30d)

Description

ActivatorUtilities.CreateInstance is 30x slower than invoking factory delegate.

/cc @Tratcher @HaoK

Contributor guide