-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Open
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.Category: This is a bug.I-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.P-criticalCritical priorityCritical priorityneeds-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
Building this crate on stable takes 2.86s and on the latest nightly 1m 56s that is ~x100 slower. Tested on both macOS and Windows, results are the same. Previous nightly versions (for example nightly-2025-06-01, nightly-2025-07-01, nightly-2025-08-01) build the project in the expected time.
Code
Create new project, add crate cargo add fast_transpose
.
use fast_transpose::{FlipMode, FlopMode};
fn main() {
let src = vec![0u8; 1];
let mut dst = vec![0u8; 1];
fast_transpose::transpose_rgb(&src, 1, &mut dst, 1, 1, 1, FlipMode::Flip, FlopMode::NoFlop)
.unwrap();
}
And try to build in stable
cargo clean && cargo +stable build --release
and in nightly
cargo clean && cargo +nightly build --release
Then see the difference in building time.
@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
Metadata
Metadata
Assignees
Labels
A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.Category: This is a bug.I-compiletimeIssue: Problems and improvements with respect to compile times.Issue: Problems and improvements with respect to compile times.P-criticalCritical priorityCritical priorityneeds-triageThis issue may need triage. Remove it if it has been sufficiently triaged.This issue may need triage. Remove it if it has been sufficiently triaged.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.