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

Remove winit from compilation on Linux #372

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Conversation

LucasFA
Copy link
Contributor

@LucasFA LucasFA commented Feb 15, 2024

Winit is only used in one line in MacOS and Windows, and unused in Linux.

This change improves from-scratch compile times from ~3m 47s to ~3m 25 on my Linux machine, as winit was in the critical chain of compilation.

I attached the output of cargo b --release --timings in case you want to read them. GitHub does not allow uploading HTML files so they're zipped here
timings.zip

(BTW enjoy the vacation!)

Winit is only used in one line in MacOS and Windows, and unused in
Linux.

This change improves initial compile times from 3m 50s to ~3m 25 on my
machine.
Copy link
Owner

@aome510 aome510 left a comment

Choose a reason for hiding this comment

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

LGTM.

(BTW enjoy the vacation!)

Thank you!

@aome510 aome510 merged commit b3d7b55 into aome510:master Feb 16, 2024
4 checks passed
@LucasFA LucasFA deleted the remove-dep branch February 16, 2024 15:04
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.

None yet

2 participants