Change 36d5461843ce broke the darwin-amd64-race-cheney build:
http://build.golang.org/log/022b7961e0cfe536a6a3b0aef6e53f9fd092b863
container/list: improve test coverage
R=golang-codereviews, dave, gobot, bradfitz, gri
CC=golang-codereviews
https://codereview.appspot.com/46640043
Committer: Dave Cheney <
da...@cheney.net>
http://code.google.com/p/go/source/detail?r=36d5461843ce
$ tail -200 < log
BenchmarkMemmove1024-4 200000 1281 ns/op 799.31 MB/s
BenchmarkMemmove2048-4 100000 2272 ns/op 901.16 MB/s
BenchmarkMemmove4096-4 50000 4309 ns/op 950.50 MB/s
BenchmarkFinalizer-4 1000000 162 ns/op
BenchmarkFinalizerRun-4 200000 1105 ns/op
BenchmarkStackGrowth-4 200000 726 ns/op
BenchmarkStackGrowthDeep-4 10000 110885 ns/op
BenchmarkCreateGoroutines-4 2000 101102 ns/op
BenchmarkCreateGoroutinesParallel-4 5000 55127 ns/op
BenchmarkMatmult-4 500000 398 ns/op
BenchmarkIfaceCmp100-4 50000 6684 ns/op
BenchmarkIfaceCmpNil100-4 50000 3527 ns/op
BenchmarkDefer-4 1000000 239 ns/op
BenchmarkDefer10-4 1000000 144 ns/op
BenchmarkDeferMany-4 1000000 346 ns/op
BenchmarkCompareStringEqual-4 5000000 49.8 ns/op
BenchmarkCompareStringIdentical-4 5000000 48.3 ns/op
BenchmarkCompareStringSameLength-4 5000000 50.7 ns/op
BenchmarkCompareStringDifferentLength-4 5000000 39.9 ns/op
BenchmarkCompareStringBigUnaligned-4 2000 108841 ns/op 9634.02 MB/s
BenchmarkCompareStringBig-4 2000 96854 ns/op 10826.45 MB/s
ok runtime 49.908s
? runtime/cgo [no test files]
PASS
ok runtime/debug 1.014s
PASS
ok runtime/pprof 1.013s
PASS
ok runtime/race 1.014s
PASS
BenchmarkSearchWrappers-4 50000 3404 ns/op
BenchmarkSortString1K-4 50 3226464 ns/op
BenchmarkStableString1K-4 50 5752642 ns/op
BenchmarkSortInt1K-4 50 3024825 ns/op
BenchmarkStableInt1K-4 50 4115431 ns/op
BenchmarkSortInt64K-4 1 306063189 ns/op
BenchmarkStableInt64K-4 1 395169276 ns/op
BenchmarkSort1e2-4 100 1148827 ns/op
BenchmarkStable1e2-4 50 3289074 ns/op
BenchmarkSort1e4-4 1 272740827 ns/op
BenchmarkStable1e4-4 1 1118212095 ns/op
BenchmarkSort1e6-4 1 43605532076 ns/op
BenchmarkStable1e6-4 1 246098565802 ns/op
ok sort 298.706s
PASS
BenchmarkAtof64Decimal-4 500000 427 ns/op
BenchmarkAtof64Float-4 500000 509 ns/op
BenchmarkAtof64FloatExp-4 100000 1783 ns/op
BenchmarkAtof64Big-4 100000 1720 ns/op
BenchmarkAtof64RandomBits-4 100000 2321 ns/op
BenchmarkAtof64RandomFloats-4 100000 1646 ns/op
BenchmarkAtof32Decimal-4 500000 423 ns/op
BenchmarkAtof32Float-4 500000 499 ns/op
BenchmarkAtof32FloatExp-4 100000 1607 ns/op
BenchmarkAtof32Random-4 100000 1674 ns/op
BenchmarkAtoi-4 1000000 205 ns/op
BenchmarkAtoiNeg-4 1000000 208 ns/op
BenchmarkAtoi64-4 500000 301 ns/op
BenchmarkAtoi64Neg-4 1000000 235 ns/op
BenchmarkFormatFloatDecimal-4 100000 1932 ns/op
BenchmarkFormatFloat-4 50000 3328 ns/op
BenchmarkFormatFloatExp-4 50000 3270 ns/op
BenchmarkFormatFloatNegExp-4 50000 3114 ns/op
BenchmarkFormatFloatBig-4 50000 4594 ns/op
BenchmarkAppendFloatDecimal-4 200000 1268 ns/op
BenchmarkAppendFloat-4 100000 2588 ns/op
BenchmarkAppendFloatExp-4 100000 2318 ns/op
BenchmarkAppendFloatNegExp-4 100000 2311 ns/op
BenchmarkAppendFloatBig-4 50000 3053 ns/op
BenchmarkAppendFloat32Integer-4 200000 1278 ns/op
BenchmarkAppendFloat32ExactFraction-4 100000 2284 ns/op
BenchmarkAppendFloat32Point-4 100000 2589 ns/op
BenchmarkAppendFloat32Exp-4 100000 2241 ns/op
BenchmarkAppendFloat32NegExp-4 100000 2317 ns/op
BenchmarkAppendFloat64Fixed1-4 100000 1592 ns/op
BenchmarkAppendFloat64Fixed2-4 100000 1618 ns/op
BenchmarkAppendFloat64Fixed3-4 100000 1570 ns/op
BenchmarkAppendFloat64Fixed4-4 100000 1636 ns/op
BenchmarkFormatInt-4 10000 17426 ns/op
BenchmarkAppendInt-4 10000 13890 ns/op
BenchmarkFormatUint-4 50000 3805 ns/op
BenchmarkAppendUint-4 50000 3413 ns/op
BenchmarkUnquoteEasy-4 500000 567 ns/op
BenchmarkUnquoteHard-4 20000 8720 ns/op
ok strconv 9.965s
PASS
BenchmarkGenericNoMatch-4 5000 44035 ns/op
BenchmarkGenericMatch1-4 1000 178535 ns/op
BenchmarkGenericMatch2-4 100 1114774 ns/op
BenchmarkSingleMaxSkipping-4 5000 74989 ns/op 133.35 MB/s
BenchmarkSingleLongSuffixFail-4 5000 39255 ns/op 25.52 MB/s
BenchmarkSingleMatch-4 100 1468075 ns/op 10.22 MB/s
BenchmarkByteByteNoMatch-4 20000 9265 ns/op
BenchmarkByteByteMatch-4 10000 27021 ns/op
BenchmarkByteStringMatch-4 5000 28834 ns/op
BenchmarkHTMLEscapeNew-4 50000 6615 ns/op
BenchmarkHTMLEscapeOld-4 50000 3186 ns/op
BenchmarkByteByteReplaces-4 5000 51484 ns/op
BenchmarkByteByteMap-4 5000 35866 ns/op
BenchmarkIndexRune-4 1000000 199 ns/op
BenchmarkIndexRuneFastPath-4 1000000 138 ns/op
BenchmarkIndex-4 1000000 126 ns/op
BenchmarkIndexByte-4 5000000 67.6 ns/op
BenchmarkMapNoChanges-4 100000 2348 ns/op
BenchmarkIndexHard1-4 100 2470252 ns/op
BenchmarkIndexHard2-4 100 2438630 ns/op
BenchmarkIndexHard3-4 100 2465431 ns/op
BenchmarkCountHard1-4 100 2440135 ns/op
BenchmarkCountHard2-4 100 2438452 ns/op
BenchmarkCountHard3-4 100 2505883 ns/op
BenchmarkIndexTorture-4 10000 21769 ns/op
BenchmarkCountTorture-4 10000 21379 ns/op
BenchmarkCountTortureOverlapping-4 1 193741459 ns/op
BenchmarkFields-4 1 181463013 ns/op 5.78 MB/s
BenchmarkFieldsFunc-4 1 177027468 ns/op 5.92 MB/s
BenchmarkSplit1-4 1 217450914 ns/op
BenchmarkSplit2-4 20 12026182 ns/op
BenchmarkSplit3-4 50 6441521 ns/op
ok strings 11.462s
PASS
BenchmarkCond1-4 10000 10485 ns/op
BenchmarkCond2-4 10000 21697 ns/op
BenchmarkCond4-4 5000 48495 ns/op
BenchmarkCond8-4 2000 108170 ns/op
BenchmarkCond16-4 1000 230586 ns/op
BenchmarkCond32-4 500 482714 ns/op
BenchmarkUncontendedSemaphore-4 1000000 113 ns/op
BenchmarkContendedSemaphore-4 1000000 278 ns/op
BenchmarkMutexUncontended-4 100000 2783 ns/op
BenchmarkMutex-4 50000 5101 ns/op
BenchmarkMutexSlack-4 50000 5412 ns/op
BenchmarkMutexWork-4 50000 5628 ns/op
BenchmarkMutexWorkSlack-4 50000 5963 ns/op
BenchmarkOnce-4 200000 801 ns/op
BenchmarkPool-4 10000 12356 ns/op
BenchmarkSemaUncontended-4 5000000 52.7 ns/op
BenchmarkSemaSyntNonblock-4 1000000 101 ns/op
BenchmarkSemaSyntBlock-4 1000000 156 ns/op
BenchmarkSemaWorkNonblock-4 1000000 157 ns/op
BenchmarkSemaWorkBlock-4 1000000 154 ns/op
BenchmarkRWMutexUncontended-4 50000 3323 ns/op
BenchmarkRWMutexWrite100-4 200000 998 ns/op
BenchmarkRWMutexWrite10-4 100000 2235 ns/op
BenchmarkRWMutexWorkWrite100-4 100000 2734 ns/op
BenchmarkRWMutexWorkWrite10-4 50000 4088 ns/op
BenchmarkWaitGroupUncontended-4 100000 1611 ns/op
BenchmarkWaitGroupAddDone-4 200000 905 ns/op
BenchmarkWaitGroupAddDoneWork-4 100000 2437 ns/op
BenchmarkWaitGroupWait-4 500000 360 ns/op
BenchmarkWaitGroupWaitWork-4 100000 2159 ns/op
ok sync 7.859s
PASS
ok sync/atomic 1.012s
PASS
ok syscall 1.013s
PASS
ok testing 1.012s
? testing/iotest [no test files]
PASS
ok testing/quick 1.011s
PASS
ok text/scanner 1.013s
PASS
ok text/tabwriter 1.012s
PASS
ok text/template 1.011s
PASS
ok text/template/parse 1.012s
PASS
BenchmarkAfterFunc-4 10000 168223 ns/op
BenchmarkAfter-4 10000 63780 ns/op
BenchmarkStop-4 50000 5091 ns/op
BenchmarkSimultaneousAfterFunc-4 10000 91222 ns/op
BenchmarkStartStop-4 50000 4275 ns/op
BenchmarkTicker-4 5000 30352 ns/op
BenchmarkNow-4 1000000 196 ns/op
BenchmarkNowUnixNano-4 1000000 190 ns/op
BenchmarkFormat-4 20000 7477 ns/op
BenchmarkFormatNow-4 50000 4596 ns/op
BenchmarkParse-4 50000 3657 ns/op
BenchmarkHour-4 100000 2593 ns/op
BenchmarkSecond-4 50000 2660 ns/op
BenchmarkYear-4 100000 2730 ns/op
BenchmarkDay-4 50000 2772 ns/op
ok time 28.153s
PASS
ok unicode 1.010s
PASS
ok unicode/utf16 1.011s
PASS
BenchmarkRuneCountTenASCIIChars-4 1000000 155 ns/op
BenchmarkRuneCountTenJapaneseChars-4 1000000 258 ns/op
BenchmarkEncodeASCIIRune-4 1000000 101 ns/op
BenchmarkEncodeJapaneseRune-4 1000000 118 ns/op
BenchmarkDecodeASCIIRune-4 1000000 168 ns/op
BenchmarkDecodeJapaneseRune-4 1000000 188 ns/op
ok unicode/utf8 2.023s
? unsafe [no test files]
Build complete, duration 30m8.333698349s. Result: error: exit status 1