Closed stroxler closed 3 months ago
This pull request was exported from Phabricator. Differential Revision: D57681433
This pull request was exported from Phabricator. Differential Revision: D57681433
This pull request was exported from Phabricator. Differential Revision: D57681433
This pull request has been merged in facebook/pyre-check@573e7725ee2601e33d9108004129181d0bf5f13f.
Summary: This diff adds functionality around caching operations determining which files are included in a given .pyre_configuration.local.
Determining which files are included can be expensive. We need to perform operations to determine the following:
hg
(or perform a glob) for thisThe steps above are performed once for each file we're linting, so determining which files should be included is an expensive process. We attempt to mitigate it by caching a lot of these operations.
Differential Revision: D57681433