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

Suboptimal discovery of project files #7057

Open
3 of 4 tasks
dvz opened this issue Dec 4, 2021 · 1 comment
Open
3 of 4 tasks

Suboptimal discovery of project files #7057

dvz opened this issue Dec 4, 2021 · 1 comment

Comments

@dvz
Copy link
Contributor

dvz commented Dec 4, 2021

The initial scanning of project files may be suboptimal for projects with a large number of ignored files/directories within projectFiles:

<projectFiles>
    <directory name="." />
    <ignoreFiles>
        <directory name=".git" />
        <directory name="other-big-subdirectory" />
    </ignoreFiles>
</projectFiles>

This may manifest in a long delay between invoking the CLI and its first output, and may be responsible for the major part of Psalm's execution time when using cache.

@orklah
Copy link
Collaborator

orklah commented Dec 4, 2021

Thanks for identifying those! don't hesitate to ping me or @weirdan if you have questions on how to proceed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants