* github.com/a8m/djson */ 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; measu
(b *testing.B)
| 438 | // MCDC STK-REQ-007: N/A |
| 439 | // reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-deterministic and not comparable to an independent reference |
| 440 | func BenchmarkDjsonSmall(b *testing.B) { |
| 441 | for i := 0; i < b.N; i++ { |
| 442 | m, _ := djson.DecodeObject(smallFixture) |
| 443 | nothing(m["uuid"].(string), m["tz"].(float64), m["ua"].(string), m["st"].(float64)) |
| 444 | } |
| 445 | } |
| 446 | |
| 447 | /* |
| 448 | github.com/ugorji/go/codec |