Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

[perf] DefaultActionSelector.HasValidAction allocate significant memory, which can be fixed. #1114

@troydai

Description

@troydai

Following data shows up in MusicStore (CLR) perf profiling:

Name
 Type Enumerator[Microsoft.AspNet.Mvc.RouteDataActionConstraint]
+ CLR <<clr!JIT_New>>
 + LIB <<System.Core.ni!System.Linq.Enumerable.All[System.__Canon](System.Collections.Generic.IEnumerable`1, System.Func`2)>>
  + module Microsoft.AspNet.Mvc.Core <<Microsoft.AspNet.Mvc.Core!Microsoft.AspNet.Mvc.DefaultActionSelector+<>c__DisplayClass20.<HasValidAction>b__21(class Microsoft.AspNet.Mvc.ActionDescriptor)>>
   + LIB <<System.Core.ni!System.Linq.Enumerable.Any[System.__Canon](System.Collections.Generic.IEnumerable`1)>>
    + module Microsoft.AspNet.Mvc.Core <<Microsoft.AspNet.Mvc.Core!MvcRouteHandler.GetVirtualPath>>
     + module Microsoft.AspNet.Routing <<Microsoft.AspNet.Routing!RouteCollection.GetVirtualPath>>

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions