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

perf: Improve performance by introducing caches to hotspots #182

Merged
merged 1 commit into from
Jul 16, 2023
Merged

perf: Improve performance by introducing caches to hotspots #182

merged 1 commit into from
Jul 16, 2023

Conversation

spkl
Copy link
Contributor

@spkl spkl commented Jul 15, 2023

This change can improve performance for large assemblies/type libraries by a factor of 2 or more (>100 in extreme cases).

Added caches for:

  • TypeInfoResolver.ResolveTypeInfo(Type)
  • MethodWriter.IsComVisible
  • PropertyMethodWriter.IsComVisible

@marklechtermann marklechtermann changed the title feat: Improve performance by introducing caches to hotspots perf: Improve performance by introducing caches to hotspots Jul 16, 2023
@marklechtermann marklechtermann merged commit 19c9471 into dspace-group:main Jul 16, 2023
4 checks passed
@spkl spkl deleted the improve-performance branch July 16, 2023 16:49
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.

None yet

2 participants