MCPcopy
hub / github.com/buger/jsonparser / BenchmarkGoSimplejsonSetSmall

Function BenchmarkGoSimplejsonSetSmall

benchmark/benchmark_small_payload_test.go:324–335  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

322// Verifies: STK-REQ-007
323// MCDC STK-REQ-007: N/A
324func 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

Callers

nothing calls this directly

Calls 1

nothingFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…