Open kaylareopelle opened 2 months ago
While reviewing OpenSearch instrumentation, we discovered a few place where extra Hash allocations may occur in perform_request_with_tracing: https://github.com/newrelic/newrelic-ruby-agent/pull/2796#discussion_r1714400308
perform_request_with_tracing
Audit the rest of our instrumentation to follow this pattern and reduce unnecessary object allocations.
https://new-relic.atlassian.net/browse/NR-302628
While reviewing OpenSearch instrumentation, we discovered a few place where extra Hash allocations may occur in
perform_request_with_tracing
: https://github.com/newrelic/newrelic-ruby-agent/pull/2796#discussion_r1714400308Audit the rest of our instrumentation to follow this pattern and reduce unnecessary object allocations.