Skip to content

rustc is slow on Windows XP #4303

Closed
Closed
@ghost

Description

On my 1.7GHz x86 WinXP laptop, rustc 0.5 ( the official binary ) takes 7.2 seconds to compile the "Hello World" from http://www.rust-lang.org/ . Even simply running "rustc -v" takes 5.8 seconds. During these operations, the CPU is 100% utilized and my system performs hardly any disk I/O. I have spare physical memory and no other tasks are hogging the CPU. I'm using a fresh install of the recommended MSYS version, and otherwise don't have any performance issues with the system; in comparison, "g++ -v" takes around a tenth of a second. The results are from several consecutive runs of the programs, and are very predictable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-slowIssue: Problems and improvements with respect to performance of generated code.O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions