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
(b *testing.B)
| 322 | // Verifies: STK-REQ-007 |
| 323 | // MCDC STK-REQ-007: N/A |
| 324 | func BenchmarkGoSimplejsonSetSmall(b *testing.B) { |
| 325 | for i := 0; i < b.N; i++ { |
| 326 | json, _ := simplejson.NewJson(smallFixture) |
| 327 | |
| 328 | json.SetPath([]string{"uuid"}, "c90927dd-1588-4fe7-a14f-8a8950cfcbd8") |
| 329 | json.SetPath([]string{"tz"}, -3) |
| 330 | json.SetPath([]string{"ua"}, "server_agent") |
| 331 | json.SetPath([]string{"st"}, 3) |
| 332 | |
| 333 | nothing() |
| 334 | } |
| 335 | } |
| 336 | |
| 337 | /* |
| 338 | github.com/pquerna/ffjson |
nothing calls this directly
no test coverage detected
searching dependent graphs…