Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rdmd makes too many stat() calls, of which many are not traced #409

Open
dlang-bugzilla-migration opened this issue Jun 5, 2020 · 0 comments
Labels
Prio.3.Normal A bug that is neither a blocker nor a regression T.RDMD Issues that apply only to rdmd Type.Enhancement An improvement to an existing functionality

Comments

@dlang-bugzilla-migration

Transferred from: https://issues.dlang.org/show_bug.cgi?id=11827

User @andralex reported (2013-Dec-26 12:08:04):

#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.

@dlang-bugzilla-migration dlang-bugzilla-migration added Type.Enhancement An improvement to an existing functionality Prio.3.Normal A bug that is neither a blocker nor a regression T.RDMD Issues that apply only to rdmd labels Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Prio.3.Normal A bug that is neither a blocker nor a regression T.RDMD Issues that apply only to rdmd Type.Enhancement An improvement to an existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant