Skip to content

Performance Issues with Interceptors #56

Description

@buecherlstefan

I am using an Interceptor in my app for Logging (Method Start, Method End);
There are some filtering methods which are called very often in the application.

If i am using Interceptors i have enormous performance leaks. Turning the interceptors of its very fast.

image

Ninject.Extensions.Interception.Registry.AdviceRegistry.GetInterceptors(IProxyRequest)
-> Ninject.Extensions.Interception.Registry.AdviceRegistry.GetInterceptorsForRequest(IProxyRequest)
-> System.Linq.Enumerable+SelectListIterator`2.ToList()

The more methods called, the slower the overall performance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions