Skip to content

AOT-compile generators #3836

@davidmorgan

Description

@davidmorgan

Currently build_runner has to JIT-compile generators because there are some uses of mirrors: source_gen for identifying types, and build_runner seems to have some internal mirrors use.

This is slower than if they were AOT-compiled, something like 30%.

So it would be good if we could switch to AOT-compiled.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions