3 ms·
> I don't get why they do this at runtime instead of at site push time. Convenience. I'm sure the extra stat(2) has a measurable cost, but your js files are a
by onedognight 17y ago
> I don't get why they do this at runtime instead of at site push time.
Convenience. I'm sure the extra stat(2) has a measurable cost, but your js files are almost guaranteed to be in cache and linux should be able to stat 1M files a second in that case.
perl -MBenchmark -e 'timethese(3000000, { cached_stat => sub { stat("/etc/passwd") } })'