]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.fuzz] internal/fuzz: don't count time spent loading corpus
authorJay Conrod <jayconrod@google.com>
Mon, 5 Apr 2021 15:40:12 +0000 (11:40 -0400)
committerJay Conrod <jayconrod@google.com>
Fri, 9 Apr 2021 17:53:57 +0000 (17:53 +0000)
commitb178a81e1f95eea38893e6da8daa3260d3e601de
treee81b0d24ee13b97bd201ffd56734e7773791bac2
parent74f49f3366826f95a464cc15838a0668c92e3357
[dev.fuzz] internal/fuzz: don't count time spent loading corpus

The -fuzztime flag tells us how much time to spend fuzzing, not
counting time spent running the seed corpus. We shouldn't count time
spent loading the cache either. If the cache is large, the time limit
may be exceeded before the coordinator starts the workers.

Change-Id: If00435faa5d24aabdb9003ebb9337fa2e47f22b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/307310
Trust: Jay Conrod <jayconrod@google.com>
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Jay Conrod <jayconrod@google.com>
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
src/internal/fuzz/fuzz.go
src/testing/internal/testdeps/deps.go