Descriptiontime: add Now()/UnixNano() malloc tests
The fix for issue 4403 may include more calls to time.Now().UnixNano(). I was concerned that if this function allocated it would cause additional garbage on the heap. It turns out that it doesn't, which is a nice surprise.
Also add benchmark for Now().UnixNano()
Patch Set 1 #Patch Set 2 : diff -r 40ffcafb291e https://code.google.com/p/go #Patch Set 3 : diff -r 40ffcafb291e https://code.google.com/p/go #Patch Set 4 : diff -r 40ffcafb291e https://code.google.com/p/go #
Total comments: 2
Patch Set 5 : diff -r 14b544194509 https://code.google.com/p/go #MessagesTotal messages: 7
|