Skip to content

Bump MSRV & allow serde and serde_derive to compile in parallel#12

Merged
niklasmohrin merged 1 commit intoniklasmohrin:mainfrom
dtolnay-contrib:serdeparallel
Jun 19, 2023
Merged

Bump MSRV & allow serde and serde_derive to compile in parallel#12
niklasmohrin merged 1 commit intoniklasmohrin:mainfrom
dtolnay-contrib:serdeparallel

Conversation

@dtolnay
Copy link
Copy Markdown
Contributor

@dtolnay dtolnay commented Jun 15, 2023

Visualized in cargo build --timings:

Before: After:

Previously serde could only begin compiling after serde_derive was finished compiling. After, they can compile in parallel.

This reduces build time by 2 seconds (36%).

Copy link
Copy Markdown
Owner

@niklasmohrin niklasmohrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@niklasmohrin niklasmohrin changed the title Allow serde and serde_derive to compile in parallel Bump MSRV & allow serde and serde_derive to compile in parallel Jun 19, 2023
@niklasmohrin niklasmohrin merged commit 2b1536c into niklasmohrin:main Jun 19, 2023
@dtolnay dtolnay deleted the serdeparallel branch June 19, 2023 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants