2 ms·
fwiw $ time /usr/local/src/rust-1.3.0-x86_64-unknown-linux-gnu/rustc/bin/rustc meteor.rs -o meteor.rust-2.rust_run real 0m2.042s user 0m1.940s
by igouy 11y ago
fwiw
$ time /usr/local/src/rust-1.3.0-x86_64-unknown-linux-gnu/rustc/bin/rustc meteor.rs -o meteor.rust-2.rust_run
real 0m2.042s
user 0m1.940s
sys 0m0.096s
- kibwen 11y agoAnd most of that is constant time overhead of linking and trans, rather than linearly scaling overhead. :P
- igouy 11y agofwiw thread-ring Rust, 38 lines of code $ time /usr/local/src/rust-1.3.0-x86_64-unknown-linux-gnu/rustc/bin/rustc threadring.rs -o threadring.rust_run real 0m1.466s user 0m1.340s sys 0m0.112s