dotnet/aspnetcore

Consider using ActivatorUtilities.CreateFactory in AuthenticationHandlerProvider

Aperta

#2948 aperta il 12 mar 2018

 (14 commenti) (0 reazioni) (0 assegnatari)C# (10.653 fork)batch import
affected-fewarea-networkingenhancementfeature-http-abstractionshelp wantedseverity-nice-to-have

Metriche repository

Star
 (37.933 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

/cc @Tratcher @HaoK

Guida contributor