|
|
|
|
|
by pytness
613 days ago
|
|
Yes, in linux there is a file system type called tmpfs which is mapped to memory (most of the time iirc). > Filesystem Size Used Avail Use% Mounted on > tmpfs 31G 22M 31G 1% /tmp Try running `cargo build --timings`, it creates a report about build times.
My guess would be storage speed, i would not expect memory speed to be that much of an issue. edit: > Windows compilation 8min took less time than Linux 45min? I dont think i understood this correctly, but in the case you are asking (for clarification) about my compile times, i got around 3m:18s on linux, and around >8 minutes on WSL. |
|
Yeah, I got a bit longer time now, after `cargo clean `. Here are the timings: https://html-preview.github.io/?url=https://gist.githubuserc...
It's still strange win 10 was faster to compile on a worse CPU and worse memory :/
Maybe WSL has some issues that MSVC toolchain doesn't.
> I dont think i understood this correctly, but in the case you are asking (for clarification) about my compile times
Yes. I was confused by its output, i.e. 2541.91s