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

fix: remove xml cache #1347

Closed
wants to merge 2 commits into from
Closed

fix: remove xml cache #1347

wants to merge 2 commits into from

Conversation

mshanemc
Copy link
Contributor

What does this PR do?

module-scope cache causes problems for long-lived IDE usage. this just removes it (goal is to compare the perf tests for EDA, which has a lot of decomposed stuff, to see if it matters at all)

What issues does this PR fix or reference?

@W-15952068@

@mshanemc mshanemc requested a review from a team as a code owner June 19, 2024 20:55
Copy link
Contributor

@shetzel shetzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the xml cache was specifically for CustomLabels. Create a project with 2000 CustomLabels and do a convert. You'll see the perf difference. With each individual custom label the entire CustomLabels file is re-read so performance, especially on windows, is pretty terrible without the cache.

@mshanemc mshanemc closed this Jun 19, 2024
@mshanemc
Copy link
Contributor Author

the xml cache was specifically for CustomLabels. Create a project with 2000 CustomLabels and do a convert. You'll see the perf difference. With each individual custom label the entire CustomLabels file is re-read so performance, especially on windows, is pretty terrible without the cache.

the perf tests agreed with you 😄 . I wanted to see. Closed in favor of #1348

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