LoginSignup
3
3

More than 5 years have passed since last update.

GoのSerialization Benchmark

Last updated at Posted at 2015-01-16

注意:ググってコピペしただけの情報です。

Serialization in Go
https://docs.google.com/document/d/131hdZ-dMKBrsLJim4t0jlaDiot6pXLUTI-zIXrNW-u8/pub

Marshal Unmarshal
gob 10153 ns/op 2691 ns/op
gob (streaming) 3058 ns/op 4522 ns/op
gogoprotobuf 477 ns/op 643 ns/op

Serialization Benchmark
http://www.slideshare.net/albertstrasheim/serialization-in-go

Marshal Unmarshal
gogoprotobuf 581 ns/op 894 ns/op
go-capnproto 183 ns/op 879 ns/op
go-capnproto zero copy - 467 ns/op

go-capnproto
http://godoc.org/github.com/glycerine/go-capnproto
Cap’n Proto - Schema Language
http://kentonv.github.io/capnproto/language.html

FlatBuffers - Benchmarks
http://google.github.io/flatbuffers/md__benchmarks.html

Marshal Unmarshal
Protocol Buffers LITE 185 302
FlatBuffers (binary) 3.2 0.08

(1 million times, seconds)

http://godoc.org/github.com/google/flatbuffers/go
FlatBuffers - Use in Go
http://google.github.io/flatbuffers/md__go_usage.html

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3