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

Optimize models URLToString #226

Draft
wants to merge 1 commit into
base: dev/v2
Choose a base branch
from

Conversation

equals215
Copy link
Member

@equals215 equals215 commented Feb 14, 2025

URLToString is a source of many heap allocations on recent versions of Zeno as seen in this flamegraph :
Screenshot 2025-02-14 at 5 02 33 PM
URLToString accounts a more than 60% of all heap allocations (in volume not size)

The goal of this PR is to retain the same features provided by the current implementation of URLToString but drastically lower the number of heap allocations to alleviate pressure of the GC

@equals215 equals215 added enhancement New feature or request internal-only This PR/Issue is reserved for the IA team v2 Label to use when describing an issue for Zeno v2 labels Feb 14, 2025
@equals215 equals215 self-assigned this Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request internal-only This PR/Issue is reserved for the IA team v2 Label to use when describing an issue for Zeno v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant