Skip to content
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

depend on serde_derive separately for more compilation parallelism #441

Merged
merged 2 commits into from
Mar 13, 2023

Conversation

jakobhellermann
Copy link
Contributor

@jakobhellermann jakobhellermann commented Mar 13, 2023

  • I've included my change in CHANGELOG.md

If no crate enables the derive feature of serde, then serde and serde_derive can compile in parallel, and anything depending only on serde can compile while serde_derive is not yet done.
This can save up to 5 seconds of compilation, depending on whether this helps the critical chain and if no other crate enables the feature.

image

Copy link
Contributor

@torkleyy torkleyy left a comment

Choose a reason for hiding this comment

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

Lovely, thank you!

@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: +2.20 🎉

Comparison is base (d15bacc) 84.52% compared to head (92872d9) 86.73%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #441      +/-   ##
==========================================
+ Coverage   84.52%   86.73%   +2.20%     
==========================================
  Files          59       59              
  Lines        7470     7280     -190     
==========================================
  Hits         6314     6314              
+ Misses       1156      966     -190     
Impacted Files Coverage Δ
src/de/tests.rs 100.00% <ø> (ø)
src/extensions.rs 100.00% <ø> (ø)
src/options.rs 42.64% <ø> (-0.64%) ⬇️
src/ser/mod.rs 71.15% <ø> (+0.47%) ⬆️
src/ser/tests.rs 100.00% <ø> (ø)
src/value/mod.rs 50.38% <ø> (-17.09%) ⬇️

... and 4 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@juntyr
Copy link
Member

juntyr commented Mar 13, 2023

I’ll review later tonight after dinner

@juntyr juntyr self-requested a review March 13, 2023 19:17
Copy link
Member

@juntyr juntyr left a comment

Choose a reason for hiding this comment

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

LGTM

@juntyr juntyr merged commit 5a407f3 into ron-rs:master Mar 13, 2023
juntyr pushed a commit to juntyr/ron that referenced this pull request Aug 15, 2023
…on-rs#441)

* depend on serde_derive separately for more compilation parallelism

* add changelog entry
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.

4 participants