APIv2: cleanup redundant bench tests? #886
I just checked out benchmark/bench_test.go. That's neat. Yeah, that can replace encoding/bench_test.go.
Btw, just a note that passing in -v1 to benchmark text marshal/unmarshal may produce the same results depending on which v1 is being used. With the go.mod file checked in, I believe it is using the latest v1 where text marshal/unmarshal are already wrappers to the v2 implementation.
In order to properly get v1 values, one will need to adjust go.mod to point to the real old v1 implementation.