]> Cypherpunks repositories - gostls13.git/commit
[dev.garbage] runtime: Linear map test give false negative due to GC.
authorRick Hudson <rlh@golang.org>
Mon, 27 Oct 2014 18:12:54 +0000 (14:12 -0400)
committerRick Hudson <rlh@golang.org>
Mon, 27 Oct 2014 18:12:54 +0000 (14:12 -0400)
commit9efe7e819d500b4a7027811ff5e86be5007099f4
tree54d45f4fe3c8fc3305c2751d5514826ca0f0c064
parent6184f46ea359bd6d4da92cb80ba20d219222aa00
[dev.garbage] runtime: Linear map test give false negative due to GC.
This test gives a false negative at an observed rate of 1 in a 1000
due to the fact that it runs for < 100 ms. allowing GC pauses to
warp the results. Changed the test so that it triggers only if it
remains non-linear for much larger problem sizes.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/164010043
test/maplinear.go