]> Cypherpunks repositories - gostls13.git/commit
encoding/gob: make benchmarks parallel
authorDmitriy Vyukov <dvyukov@google.com>
Thu, 7 Aug 2014 17:39:32 +0000 (21:39 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Thu, 7 Aug 2014 17:39:32 +0000 (21:39 +0400)
commitcc063592b0307552af9fd80f03be6276838e52f9
treeb4246f8553fe410b71c505097a7ef2d704d7c371
parentd078d483ce87b4311f79e988a0b609d3c53d3cb4
encoding/gob: make benchmarks parallel
There are lots of internal synchronization in gob,
so it makes sense to have parallel benchmarks.
Also add a benchmark with slices and interfaces.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/115960043
src/pkg/encoding/gob/timing_test.go