-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance optimizations for project-wide eqwalization
Summary: * Introduce an `eqwalizer_pool` for handling the project-wide eqwalization * Use the same strategy as for warming up the `def_map` cache, by introducing the `ScheduleEqwalizeAll` and `UpdateEqwalizeAll` events * Add an optional step in the `ScheduleCache` which pre-warms the `module_ast` if project-wide eqwalization is enabled * Parallelize eqwalization, similarly to the way this happens in `eqwalizer_cli` The currently hard-coded number of tasks (4) will be made configurable in a separate diff. This also solves an issue in the way diagnostics were presented, avoiding duplicates. Reviewed By: VLanvin Differential Revision: D55416690 fbshipit-source-id: 8170baa766ffb37fef8fb8d97b4639333674c4a0
- Loading branch information
1 parent
5fd19ff
commit 8895a71
Showing
9 changed files
with
239 additions
and
47 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.