Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance Issues with Interceptors #56

Open
buecherlstefan opened this issue Jun 28, 2023 · 0 comments
Open

Performance Issues with Interceptors #56

buecherlstefan opened this issue Jun 28, 2023 · 0 comments

Comments

@buecherlstefan
Copy link

buecherlstefan commented Jun 28, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant