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

Allow for access of domain cache without deep copy #3047

Merged
merged 2 commits into from
Feb 14, 2020

Conversation

andrewjdawson2016
Copy link
Contributor

When creating dynamically allocated tally scopes GetDomainName can be a lot to tag metrics with domain name. This results in a lot of extra allocations and pressure on golang's GC. This diff enables access of domainID -> domainName mapping without doing any allocations.

@coveralls
Copy link

coveralls commented Feb 13, 2020

Coverage Status

Coverage increased (+0.03%) to 67.35% when pulling fbe1324 on andrewjdawson2016:DomainCache into cb5da71 on uber:master.

@andrewjdawson2016 andrewjdawson2016 merged commit bd34a55 into uber:master Feb 14, 2020
@andrewjdawson2016 andrewjdawson2016 deleted the DomainCache branch February 14, 2020 18:29
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

Successfully merging this pull request may close these issues.

3 participants