* 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 reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-deterministic and not comparabl
(b *testing.B)
| 130 | // MCDC STK-REQ-004: N/A |
| 131 | // reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-deterministic and not comparable to an independent reference |
| 132 | func BenchmarkEasyJsonLarge(b *testing.B) { |
| 133 | for i := 0; i < b.N; i++ { |
| 134 | lexer := &jlexer.Lexer{Data: largeFixture} |
| 135 | data := new(LargePayload) |
| 136 | data.UnmarshalEasyJSON(lexer) |
| 137 | |
| 138 | for _, u := range data.Users { |
| 139 | nothing(u.Username) |
| 140 | } |
| 141 | |
| 142 | for _, t := range data.Topics.Topics { |
| 143 | nothing(t.Id, t.Slug) |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | /* |
| 149 | github.com/a8m/djson |
nothing calls this directly
no test coverage detected