Skip to content

Commit 1f09cd3

Browse files
vmihailencoalecthomas
authored andcommitted
Update VmihailencoMsgpackSerializer to use v4
1 parent c88527d commit 1f09cd3

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

serialization_benchmarks_test.go

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ import (
1313
"time"
1414

1515
"github.com/niubaoshu/gotiny"
16-
"zombiezen.com/go/capnproto2"
16+
capnp "zombiezen.com/go/capnproto2"
1717

1818
"github.com/DeDiS/protobuf"
1919
"github.com/Sereal/Sereal/Go/sereal"
2020
"github.com/davecgh/go-xdr/xdr"
21-
"github.com/glycerine/go-capnproto"
21+
capn "github.com/glycerine/go-capnproto"
2222
"github.com/gogo/protobuf/proto"
23-
"github.com/google/flatbuffers/go"
23+
flatbuffers "github.com/google/flatbuffers/go"
2424
"github.com/hprose/hprose-go"
2525
hprose2 "github.com/hprose/hprose-golang/io"
26-
"github.com/ikkerens/ikeapack"
27-
"github.com/json-iterator/go"
26+
ikea "github.com/ikkerens/ikeapack"
27+
jsoniter "github.com/json-iterator/go"
2828
shamaton "github.com/shamaton/msgpack"
2929
"github.com/tinylib/msgp/msgp"
3030
"github.com/ugorji/go/codec"
31+
vmihailenco "github.com/vmihailenco/msgpack"
3132
"gopkg.in/mgo.v2/bson"
32-
vmihailenco "gopkg.in/vmihailenco/msgpack.v2"
3333

3434
"github.com/alecthomas/binary"
3535
)
@@ -256,7 +256,7 @@ func BenchmarkMsgpUnmarshal(b *testing.B) {
256256
benchUnmarshal(b, MsgpSerializer{})
257257
}
258258

259-
// gopkg.in/vmihailenco/msgpack.v2
259+
// github.com/vmihailenco/msgpack
260260

261261
type VmihailencoMsgpackSerializer struct{}
262262

@@ -1262,7 +1262,6 @@ func BenchmarkIkeaUnmarshal(b *testing.B) {
12621262
}
12631263
}
12641264

1265-
12661265
// github.com/shamaton/msgpack - as map
12671266

12681267
type ShamatonMapMsgpackSerializer struct{}

0 commit comments

Comments
 (0)