-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: instrument source files in parallel (#302)
Instrumentation of source files can be performed in parallel, as the AST transformations do not span across files. Once the files are parsed & type checked, using a distinct decorator per file enables parallel processing & more efficient post-processing (fewer items in the decorator maps, none of which irrelevant to the current AST being post-processed). This would improve the performance of builds, and a local profile showed a 70% improvement on the specific package I was playing with.
- Loading branch information
1 parent
6f519f1
commit 471dc7c
Showing
4 changed files
with
58 additions
and
39 deletions.
There are no files selected for viewing
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