Feature #7924
closedReuse plugin results
0%
Description
If the same plugins are invoked with the same input files and options they definitely will produce the same results. So AVTG can remember which results correspond to which input files and options and reuse them in case of correspondence.
This feature will allow to get rid of much useless work when the same modules are checked against several rules at once.
Taking into account #6608 it will be better to hold locks corresponding to the same input files and options to avoid obtaining the same results in parallel.
Updated by Evgeny Novikov over 7 years ago
- Assignee set to Ilja Zakharov
Let's do it together with #6608.
Updated by Evgeny Novikov about 7 years ago
- Target version changed from 2.0 to 0.2
This considerable Core refactoring is always completed and it would be better to have it in master ASAP while Klever 1.0 will be devoted to great conceptual improvements.
Updated by Ilja Zakharov about 7 years ago
- Status changed from New to Resolved
Implemented in the core-refactoring branch as a part of VTG and AVTG major refactoring.
Updated by Evgeny Novikov about 7 years ago
- Status changed from Resolved to Open
- I had 1 verification object and 3 rule specifications with the same settings for SA and EMG. With 8 parallel verification task generators I observed that first a verification task for one pair object-rule was prepared and just after some period of time for the rest two pairs verification tasks were generated in parallel. Indeed the latter can be started immediately after SA and EMG finished.
- Log files says nothing about plugin results fetched from a "cache" - there is just nothing about corresponding plugins there.
Updated by Ilja Zakharov about 7 years ago
- Status changed from Open to Resolved
Ok, now preparation of next tasks starts earlier.
Originally I implemented it for the more general case when I was not sure that only SA and EMG results should be reused. But as we hardcoded it now, I introduced the fix. Also, I have added several additional log messages.
Updated by Evgeny Novikov about 7 years ago
Ilja Zakharov wrote:
Ok, now preparation of next tasks starts earlier.
Originally I implemented it for the more general case when I was not sure that only SA and EMG results should be reused. But as we hardcoded it now, I introduced the fix. Also, I have added several additional log messages.
Great, both issues disappeared.
Updated by Evgeny Novikov about 7 years ago
- Status changed from Resolved to Closed
I merged the branch to master in aec48ac1.
Updated by Evgeny Novikov about 7 years ago
At last we do not generate the same environment model several times for different correctness rules.