-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Use AOT mode in the Dart SDK binaries #53576
Comments
CL to switch dds to run dds in AOT mode https://dart-review.googlesource.com/c/sdk/+/327140 |
CL to switch gen_kerenl to run in AOT mode when invoked from 'dart compile exe' command https://dart-review.googlesource.com/c/sdk/+/327520?tab=checks |
PR to add PR to modify |
PR to make |
On the topic of AOT compiling our tools:
The same but changing to run from AOT snapshot (which takes ~12s to produce):
|
Very nice! |
@a-siva looking at I'm wondering because discussion at #56454 makes it seem like the analysis server is still being invoked in Jit mode. |
I think it's still in JIT mode because we don't support running plugins from AOT; we always run them from source (JIT); please forgive any misunderstandings I have here 😅 . I did some prototyping with AOT-compiled plugins, for our plugins V2; so it's a thing we can do. |
Note also that the current approach to run macros in analyzer and DAS is to compile them into kernel files, and run in the same process. |
Yes, the analysis server has not yet been switched to AOT yet. Not sure why it had the checked flag above. Fixed it. |
We have had this discussion with the CFE team too and they have an out of process mode for executing the kernel files generated from macros. maybe the Analyzer should also consider this. |
Yes, it is still JIT mode, there was some discussion regarding plugins here https://docs.google.com/document/d/1W0JmNwlWD9W8Jf1vzC-W7MSOR-l1XOquVUCaf_7gs3A/edit?resourcekey=0-3fhJDVXmmWr4gLkBcRB9Sg&disco=AAAAwkyH-sY |
cc @bwilkerson @mit-mit this is related to our discussions regarding prioritizing efforts which would allow us to switch analyzer to AOT mode targeting next stable. |
Use AOT mode in the Dart SDK binaries (faster startup and more predictable performance)
List of items to account for before this task is complete
The text was updated successfully, but these errors were encountered: