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

Performance Improvement: Inheritance Pass #2749

Merged
merged 10 commits into from
May 23, 2023

Conversation

DavidBakerEffendi
Copy link
Collaborator

@DavidBakerEffendi DavidBakerEffendi commented May 22, 2023

XInheritancePass was designed on CpgPass which is ideally for small tasks, but these were now moved to ForkJoinParallelPass which exploits the independent task nature of how these passes operate.

  • Inheritance pass caches its expensive regex matching strategy and now uses ForkJoinParallelPass
  • Minor changes and bug fixes in XTypeRecoveryPass

It would be ideal to do a similar thing to XTypeRecoveryPass as well as use less regex under XInheritancePass.

Resolves #2739

@DavidBakerEffendi DavidBakerEffendi changed the title Performance Improvement: Inheritance and Type Recovery Performance Improvement: Inheritance May 23, 2023
@DavidBakerEffendi DavidBakerEffendi changed the title Performance Improvement: Inheritance Performance Improvement: Inheritance Pass May 23, 2023
@DavidBakerEffendi DavidBakerEffendi merged commit 1bbd7aa into master May 23, 2023
@DavidBakerEffendi DavidBakerEffendi deleted the dave/fix-inheritance-pass branch May 23, 2023 10:47
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.

[Bug] Performance Issue in XInheritanceFullNamePass
2 participants