forked from microsoft/react-native-macos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the preemptive compilation threshold configurable
Summary: This diff allows specifying the preemptive compilation threshold via CompileFlags. Users get a toggle in CLI and RuntimeConfig that allows choosing between 1. fully eager, 2. fully lazy, 3. use default thresholds ("smart"). The default is #3. However, since we use `-O` by default, it overrides any lazy compilation when using the `hermes` binary. ChangeLog: [Internal] Inspector updated to use new RuntimeConfig laziness control Reviewed By: tmikov Differential Revision: D23356463 fbshipit-source-id: 508b7b2e6a218346c69acfec97e7891e388f0e9b
- Loading branch information
1 parent
300df59
commit f34b914
Showing
3 changed files
with
14 additions
and
11 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