* github.com/ugorji/go/codec */ Verifies: STK-REQ-001 MCDC STK-REQ-001: N/A Verifies: STK-REQ-003 MCDC STK-REQ-003: N/A Verifies: STK-REQ-004 MCDC STK-REQ-004: N/A Verifies: STK-REQ-005 MCDC STK-REQ-005: N/A Verifies: STK-REQ-007 MCDC STK-REQ-007: N/A reqproof:proptest:skip performance benchmark;
(b *testing.B)
| 459 | // MCDC STK-REQ-007: N/A |
| 460 | // reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-deterministic and not comparable to an independent reference |
| 461 | func BenchmarkUgirjiSmall(b *testing.B) { |
| 462 | for i := 0; i < b.N; i++ { |
| 463 | decoder := codec.NewDecoderBytes(smallFixture, new(codec.JsonHandle)) |
| 464 | data := new(SmallPayload) |
| 465 | data.CodecDecodeSelf(decoder) |
| 466 | |
| 467 | nothing(data.Uuid, data.Tz, data.Ua, data.St) |
| 468 | } |
| 469 | } |
| 470 | |
| 471 | /* |
| 472 | github.com/mailru/easyjson |
nothing calls this directly
no test coverage detected