HomePhabricator

Memoize PHP compatibility info

Description

Memoize PHP compatibility info

Summary: Ref T7892. Avoid reading the PHP compatibility information for every file being linted.

Test Plan:

Before
real    1m24.327s
user    1m19.571s
sys 0m5.239s
real    1m12.029s
user    1m5.756s
sys 0m5.502s

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T7892

Differential Revision: https://secure.phabricator.com/D12518

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Apr 23 2015, 10:19 AM
Reviewer
Blessed Reviewers
Differential Revision
D12518: Memoize PHP compatibility info
Parents
rARCf4aadb96048b: Split large path lists into blocks when linting
Branches
Unknown
Tags
Unknown
Tasks
T7892: Investigate lint performance issues