Replies: 3 comments 18 replies
-
Ray, when you said: "With LogDebug", did you mean in debug session enabled? Yes, it is right direction... |
Beta Was this translation helpful? Give feedback.
-
I agree not removing, but I do agree on wrapping by preprocessor directive. @RaynaldM and @ggnaegi Have we reached a consensus? Will we turn this topic into an issue? |
Beta Was this translation helpful? Give feedback.
-
The idea has been released by #1808 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We're looking to speed up Ocelot a bit, and gain a few extra requests/second.
Using the benchmark, we ran a small test on DownstreamRouteFinderMiddlewareBenchmarks
In DownstreamRouteFinderMiddleware, we put the
log.Debug
in#if DEBUG
like this:and the result was surprising:
With
log.Debug
without
We gained around 300 request/s, i.e. a 38% improvement - not bad, eh?
I wonder if we couldn't do the same for others, or even all of them.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions