(b *testing.B)
| 291 | } |
| 292 | |
| 293 | func BenchmarkMsgpack_NumericStructList_Serialize(b *testing.B) { |
| 294 | rejectNonForySchemaMismatch(b) |
| 295 | obj := CreateNumericStructList() |
| 296 | |
| 297 | b.ResetTimer() |
| 298 | for i := 0; i < b.N; i++ { |
| 299 | _, err := msgpack.Marshal(obj) |
| 300 | if err != nil { |
| 301 | b.Fatal(err) |
| 302 | } |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | func BenchmarkFory_NumericStructList_Deserialize(b *testing.B) { |
| 307 | writer := newFory() |
nothing calls this directly
no test coverage detected