Comment

Comment by pytness

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.

parent pytness 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton