Skip to content

optimize dep-graph serialization #35232

Closed
@nikomatsakis

Description

@nikomatsakis

Looking at the syntex-syntax crate, I see that dep-graph serialization is pretty expensive:

time: 13.588; rss: 424MB        serialize dep graph
incremental: re-using 50 out of 50 modules

We're saving way more data than we really need to. I expect we can make this a lot cheaper by pruning the graph. But it'd be worth doing some profiling.

cc @michaelwoerister

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions