News for hackers. Stuff that matters.
Re:Crazy fast build times, or when 10 seconds starts to make... by ghusbands on Wednesday March 24, 2021 @06:23AM (#26565421)
Which OS? And were you already on SSD? Those can both greatly influence the outcome.
Re:Crazy fast build times, or when 10 seconds starts to make... by WildParser on Wednesday March 24, 2021 @08:22AM (#26566232)
I'm on Windows. Other OS may differ. I experimented a lot with load times - and compared HDD, SSD, RAM-Disk.

I wrote a small program that loads everything from a big code-repository into RAM. The first time HDD and SSD and RAM-Disk make a big difference, when reading files a second time the lag of HDD (50s?) almost disappeared completely. Caching kicked in.

The RAM-Disk has less initial lag, but also it has to be filled first, so instead of moving everything to RAM-Disk just touching everything so the OS-Caching kicks in is just faster and more convenient.