Large binary size with default tracing handlers #342
Labels
C-enhancement
Category: A PR with an enhancement or a proposed on in an issue.
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-medium
Call for participation: Experience needed to fix: Medium / intermediate
The binary size of the default
OnResponse::on_response
implementation seems rather excessive.Even for a release build with fat-lto enabled, it ends up taking ~68KiB according to
cargo-bloat
.We can't use a custom handler easily, because we rely on gRPC status handling.
If
DefaultOnResponse
cannot become smaller, maybe the machinery for gRPC handling could be exposed?(this is also true for
OnEos
, but to a lesser extent.)The text was updated successfully, but these errors were encountered: