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

Use a BufWriter in emit_module to reduce syscall overhead #1541

Merged
merged 2 commits into from
Nov 9, 2024
Merged

Conversation

bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Nov 9, 2024

For the coercions rustc-perf benchmark without this commit reduces the total amount of time it takes to emit the object file from 270ms to 27ms.

For the coercions rustc-perf benchmark without this commit reduces the
total amount of time it takes to emit the object file from 270ms to
27ms.
@bjorn3 bjorn3 merged commit e9ac680 into master Nov 9, 2024
48 checks passed
@bjorn3 bjorn3 deleted the perf_opts branch November 9, 2024 11:14
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 9, 2024
…orn3

Subtree sync for rustc_codegen_cranelift

Apart from a perf optimization for some crates (rust-lang/rustc_codegen_cranelift#1541) not much changed this time as the last sync was less than a week ago.

r? `@ghost`

`@rustbot` label +A-codegen +A-cranelift +T-compiler
@bjorn3 bjorn3 added the compile-time How fast is the code compiled label Nov 11, 2024
mati865 pushed a commit to mati865/rust that referenced this pull request Nov 12, 2024
…orn3

Subtree sync for rustc_codegen_cranelift

Apart from a perf optimization for some crates (rust-lang/rustc_codegen_cranelift#1541) not much changed this time as the last sync was less than a week ago.

r? `@ghost`

`@rustbot` label +A-codegen +A-cranelift +T-compiler
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.

1 participant