Skip to content

Destroying the LLVM Module is slow #3552

Closed
@pcwalton

Description

@pcwalton

About 3.1% of rustc compilation time (2.6 s) is spent destroying the LLVM module. For comparison, that's longer than all of resolve.

The solution is to leak the module and let the OS clean up all the memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.I-compiletimeIssue: Problems and improvements with respect to compile times.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions