Tried building sqlite amalgamation just now. Input: single .c file 8.5MB. Output: 1.8MB object file. Debug build took 1.5s. Release build (O2) took about 6s. That is about 3 orders of magntiude slower than what this…
Linux is ~1.5GB of source text and the output is typically a binary less than 100MB. That should take a few hundred milliseconds to read in from an SSD or be basically instant from RAM cache, and then a few hundred ms…
>since the bottleneck in large codebases is not a compute, e.g. headers preprocessing, but it's a memory bandwidth. SSD bandwidth: 4-10GB/s RAM bandwidth: 5-10x that, say 40GB/s. If compute was not a bottleneck, the…
Tried building sqlite amalgamation just now. Input: single .c file 8.5MB. Output: 1.8MB object file. Debug build took 1.5s. Release build (O2) took about 6s. That is about 3 orders of magntiude slower than what this…
Linux is ~1.5GB of source text and the output is typically a binary less than 100MB. That should take a few hundred milliseconds to read in from an SSD or be basically instant from RAM cache, and then a few hundred ms…
>since the bottleneck in large codebases is not a compute, e.g. headers preprocessing, but it's a memory bandwidth. SSD bandwidth: 4-10GB/s RAM bandwidth: 5-10x that, say 40GB/s. If compute was not a bottleneck, the…