plus you're still copying the files from NVMe to tmpfs before you can do anything and then at least some files back again when you're done.
Fair Point

. Or to/from SATA for me. Just installing Kernel Headers on Linux takes forever for me

.
I just installed Proxmox VE on the Hyve Servers I bought a while ago (on an NVMe Mirror out of 800GB / 960GB / 1.2TB / 3.2TB / 3.84TB, depending on what I had available) and now I'm basically out of NVMe, except 5-6 x consumer Crucial P5 Plus 2TB. The SAN Server will basically be only SAS 12G / SATA 6G plus maybe 3 x (6.4TB PCIe, though that is actually 2 x 3.2TB). No more NVMe available. Prices are currently crazy and Wallet is empty

.
I don't know how much RAM you have
It depends on the Host.
32GB on some Supermicro X10SLL-F/X10SLM-F Motherboards
64GB on Supermicro X11SSM-F/X11SSL-F / AMD Ryzen 3600/3700X Boards.
All the Way up to 512GB DDR4 on some AMD EPYC 7642 Systems (Hyve).
To stress test a CPU and check Thermals I typically just build the Linux Kernel, with default Options.
I never had a Problem building the Linux Kernel (6.12.23) on 16GB tmpfs on one of the smallest Systems.
but a kernel build will occasionally hit my cgroup limit of 128GB on its own if there are a lot of options enabled and I run one make job per.core, that doesn't leave a ton of memory to waste on long term storage of intermediate build artifacts (and at work it's all ephemeral instances anyway.)
128GB RAM for a Kernel Build

? Holy smokes !