https://d.puremagic.com/issues/show_bug.cgi?id=11827
Summary: rdmd makes too many stat() calls, of which many are
not traced
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrei Alexandrescu <[email protected]> 2013-12-26 12:08:04
PST ---
https://github.com/D-Programming-Language/tools/pull/64 introduces this.
Basically calls like exists("filename") and isDir("filename") make one stat
call each, whereas calling stat once offers all information. The extra calls
are not recorded with yap() either.
Excessive stat() calls are a major scalability issue.
Arguably the best fix would be to offer a nice API as noted in the pull
request.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------