-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
Option to cache results in between the runs #534
Comments
Any news regarding this? This would be really useful! |
There is currently not any active plan to implement this. But feel free to create a PR for this function. |
Can using
I've just created the file and it gave me x2 of execution speed. |
But here in the PHPDepend docs (https://github.com/pdepend/pdepend/blob/2.13.0/src/site/rst/documentation/handbook/configuration/index.rst#cache) said that the use of memory driver "will force to parse the source on every call", it means there is no cache in there. Am I right, or anything I miss about on the docs? |
it creates a runtime cache which will prevent repeat calculations during a single run |
Is this still open for implementation? I might be interested in adding a result caching feature. Flags: Store:
Usage
Nice to have
|
That would be fantastic! PHP version is probably best to have in there as there are feature levels that won't be analyzed if not supported. Though it probably can't analyze a file that uses unsupported features. |
Updated the above comment. made phpversion mandatory, added composer.lock |
Sounds like a good plan @frankdekker! |
Similar to phpcs --cache, would it be possible, and if so is it planed to give user an option to cache the phpmd results in order to improve performance of consecutive executions?
The text was updated successfully, but these errors were encountered: