[PATCH] D100161: Redistribute energy for Corpus
taotao gu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 12 18:07:22 PDT 2021
gtt1995 added a comment.
In D100161#2683632 <https://reviews.llvm.org/D100161#2683632>, @morehouse wrote:
> Also, the descriptions states:
>
>> Divide the corpus into n parts according to size.
>
> Is it really according to size? IIUC when there are multiple worker processes, any new coverage they have simply gets appended to `Files`. So `Files` is not necessarily sorted by size.
Yes, Grouping the corpus has two advantages, one is that it can reduce the repetitive work of each process, and the other is that small seeds trigger the same path in advance. And triggering new paths in advance is the key reason to improve efficiency. so 'Files' should sorted by size.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100161/new/
https://reviews.llvm.org/D100161
More information about the cfe-commits
mailing list