-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/google.golang.org/grpc: benchmark for unary interceptor (#1133)
This benchmark attempts calls the gRPC interceptor with a few different set of inputs, to try and measure the current overhead of this operation. If this looks good, the goal would be to use this to confirm that some small tweaks actually have the desired effect. This was motivated when I noticed that the Datadog gRPC interceptor is about 0.5% of total CPU time, and about 0.4% of all allocations in one production application, as measured by the Datadog continuous profiler. I think there are a few easy small wins that are possible. I want to make sure we can measure the impact of these changes.
- Loading branch information
Showing
1 changed file
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters