* github.com/mailru/easyjson */ 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)
| 483 | // MCDC STK-REQ-007: N/A |
| 484 | // reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-deterministic and not comparable to an independent reference |
| 485 | func BenchmarkEasyJsonSmall(b *testing.B) { |
| 486 | for i := 0; i < b.N; i++ { |
| 487 | lexer := &jlexer.Lexer{Data: smallFixture} |
| 488 | data := new(SmallPayload) |
| 489 | data.UnmarshalEasyJSON(lexer) |
| 490 | |
| 491 | nothing(data.Uuid, data.Tz, data.Ua, data.St) |
| 492 | } |
| 493 | } |
nothing calls this directly
no test coverage detected