3 ms·
A quick and dirty comparison on my project: -- GNU Ld 2.31.1 >> cargo build --release Compiling mfl v0.1.0 (/mnt/d/Programming/Projects/Rust/mfl/cr
by Measter 3y ago
A quick and dirty comparison on my project:
-- GNU Ld 2.31.1
>> cargo build --release
Compiling mfl v0.1.0 (/mnt/d/Programming/Projects/Rust/mfl/crates/mfl)
Finished release [optimized + debuginfo] target(s) in 10.14s
-- LLD-14
>> cargo build --release
Compiling mfl v0.1.0 (/mnt/d/Programming/Projects/Rust/mfl/crates/mfl)
Finished release [optimized + debuginfo] target(s) in 6.20s
-- Mold 2.0
>> cargo build --release
Compiling mfl v0.1.0 (/mnt/d/Programming/Projects/Rust/mfl/crates/mfl)
Finished release [optimized + debuginfo] target(s) in 6.02s
I did the following for each test:
cargo clean
cargo build --release
touch crates/mfl/src/main.rs
cargo build --release
With the timings coming from the second build. The project links in LLVM, and the tests were done under WSL1 on Windows 10 with the files on the Windows file system, which is how the project is developed in general.