aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_test.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-08-23 11:16:10 +0200
committerDmitry Vyukov <dvyukov@google.com>2020-08-23 11:46:14 +0200
commita6d5f3ad1385fe724cdb2c9ee3b05c7d4ce48ef6 (patch)
tree81588d72f247d1937414ac43d041ca8a58e532c9 /executor/executor_test.h
parent1da71ab086c5d9e6a32beae37b109efaa856b257 (diff)
prog: prune recursion for resourceCentric/createResource
Currently we only prune recursion for createResource. But createResource can still recurse into resourceCentric, this can produce huge programs and may be very slow (esp. if we already in createResource doing failing attempts). With this change: $ CI=yes go test -run TestMutateCorpus -count=2 ./prog passes in ~3 seconds. If I comment out inGenerateResource logic, it times out after 100 seconds. So this can indeed have significant effect on generation/mutation performance.
Diffstat (limited to 'executor/executor_test.h')
0 files changed, 0 insertions, 0 deletions