mirror of https://github.com/golang/go.git
Add more information to the output of stress. Prior to this change, stress printed lines like: 8288 runs so far, 2 failures After this change, stress prints lines like: 1m5s: 8288 runs so far, 2 failures (0.02%) I've found the timing information to be helpful in that it helps me anticipate how long a new stress run might take to reach some number of iterations I've deemed necessary to convince myself that a bug has been fixed. I've found the % failure to be helpful when there are multiple failures; I can use them to gauge whether I've made the test more reliable. I've been using this patch for a while and found it helpful on numerous occasions, so I figured I should upstream it. Change-Id: If0c9b74c30353898bacb38a81f27796f74eb4064 Reviewed-on: https://go-review.googlesource.com/c/tools/+/258299 Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
|---|---|---|
| .. | ||
| auth | ||
| benchcmp | ||
| bundle | ||
| callgraph | ||
| compilebench | ||
| cover | ||
| digraph | ||
| eg | ||
| fiximports | ||
| getgo | ||
| go-contrib-init | ||
| godex | ||
| godoc | ||
| goimports | ||
| gomvpkg | ||
| gorename | ||
| gotype | ||
| goyacc | ||
| guru | ||
| html2article | ||
| present | ||
| present2md | ||
| splitdwarf | ||
| ssadump | ||
| stress | ||
| stringer | ||
| toolstash | ||