3 ms·
Running code before main has nothing to do with performance.
by jfkebwjsbx 6y ago
Running code before main has nothing to do with performance.
- unilynx 6y agoIt surely does, performance is more about just raw CPU. Prefetching data (even a DNS query) reduces the latency the user perceives. The web similarly added the various <link rel=preload, dns-prefetch> tags, so things can be connected and fetched before the JS/CSS code is ready