Hacker News new | ask | show | jobs
by caf 3401 days ago
...while the call count was high, the time taken by the calls in total was not significant(<1% if I remember correctly).

Yes, on ordinary filesystems if you run stat() over and over again on the same file then it's just copying from the in-memory inode into your struct stat, there's no IO.