add encoding speed test and gofmt
Merge pull request #64 from coreos/master

add encoding speed test and gofmt