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

Build CI dist artifacts without debug assertions #1347

Merged
merged 1 commit into from
Feb 5, 2023

Conversation

bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Feb 4, 2023

This significantly improves performance. For example for the simple-raytracer benchmark it goes from a 13% improvement over LLVM to 39% improvement over LLVM.

This significantly improves performance. For example for the
simple-raytracer benchmark it goes from a 13% improvement over LLVM to
39% improvement over LLVM.
@bjorn3 bjorn3 added the compile-time How fast is the code compiled label Feb 4, 2023
@bjorn3
Copy link
Member Author

bjorn3 commented Feb 4, 2023

This should fix #1344. Could you please confirm @Elabajaba? You can find the CI artifacts at https://github.com/bjorn3/rustc_codegen_cranelift/actions/runs/4091385626

@bjorn3
Copy link
Member Author

bjorn3 commented Feb 5, 2023

I'm going to merge this as it improves compile times a lot. I will leave #1344 open until it is confirmed this fixes the pathological behavior seen on Windows with CI artifacts.

@bjorn3 bjorn3 merged commit 8b48138 into master Feb 5, 2023
@bjorn3 bjorn3 deleted the dist_no_debug_assertions branch February 5, 2023 14:47
@Elabajaba
Copy link

Elabajaba commented Feb 6, 2023

This should fix #1344. Could you please confirm @Elabajaba? You can find the CI artifacts at https://github.com/bjorn3/rustc_codegen_cranelift/actions/runs/4091385626

Sorry I didn't get to this earlier, I had a busy weekend.

Tested it on Windows, and this fixes the --release build compile time issue for Naga and wgpu with CI artifacts for me!

edit: Also fixed on Linux.

@bjorn3
Copy link
Member Author

bjorn3 commented Feb 6, 2023

No worries. Thanks for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compile-time How fast is the code compiled
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants