Add some benchmarks and minor test-go enhancements

Get a baseline for Encode/Decode performance
Fixed

> On Sep 19, 2014, at 4:40 PM, Daniel Smith <notifications@github.com> wrote:
> 
> In pkg/api/serialization_test.go:
> 
> > @@ -203,3 +205,56 @@ func TestBadJSONRejection(t *testing.T) {
> >  		t.Errorf("Kind is set but doesn't match the object type: %s", badJSONKindMismatch)
> >  	}*/
> >  }
> > +
> > +const benchmarkSeed = 100
> > +
> > +func BenchmarkEncode(b *testing.B) {
> > +	pod := api.Pod{}
> RandSource here, too
> 
> —
> Reply to this email directly or view it on GitHub.