Skip to content

Ludicrous build time for keshvar crate in release mode #124653

Open
@virtualritz

Description

This MRE is a repo. from a barebones cargo create + cargo add keshvar --features search-translations.

A release build takes several orders of magnitude longer than a debug build. This is coming from the keshvar crate, see also this issue.

cargo build:

    Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.14s

cargo build --release:

    Finished `dev` profile [optimized + debuginfo] target(s) in 38m 12s

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-optimizationCategory: An issue highlighting optimization opportunities or PRs implementing suchI-compiletimeIssue: Problems and improvements with respect to compile times.S-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions