Verifies: STK-REQ-005 MCDC STK-REQ-005: N/A
(b *testing.B)
| 9 | // Verifies: STK-REQ-005 |
| 10 | // MCDC STK-REQ-005: N/A |
| 11 | func BenchmarkSetLarge(b *testing.B) { |
| 12 | b.ReportAllocs() |
| 13 | |
| 14 | keyPath := make([]string, 20000) |
| 15 | for i := range keyPath { |
| 16 | keyPath[i] = "keyPath" + strconv.Itoa(i) |
| 17 | } |
| 18 | b.ResetTimer() |
| 19 | for i := 0; i < b.N; i++ { |
| 20 | _, _ = jsonparser.Set(largeFixture, largeFixture, keyPath...) |
| 21 | } |
| 22 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…