Descriptiontest: fix flaky NaN-key map complexity test
Don't measure wall time in map.go. Keep it portable
and only test NaN, but not time.
Move time tests to mapnan.go and only measure user CPU time,
not wall time. It builds on Darwin and Linux, the primary
platforms where people hack on the runtime & in particular
maps. The runtime is shared, though, so we don't need it to
run on all of the platforms.
Fixes flaky build failures like:
http://build.golang.org/log/ba67eceefdeaa1142cb6c990a62fa3ffd8fd73f8
Patch Set 1 #Patch Set 2 : diff -r cce4c4f5fa17 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r cce4c4f5fa17 https://go.googlecode.com/hg/ #
Total comments: 4
Patch Set 4 : diff -r 3bec344c9c55 https://go.googlecode.com/hg/ #MessagesTotal messages: 6
|