MCPcopy Create free account
hub / github.com/buger/jsonparser / BenchmarkFFJsonSmall

Function BenchmarkFFJsonSmall

benchmark/benchmark_small_payload_test.go:363–370  ·  view source on GitHub ↗

* github.com/pquerna/ffjson */ 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;

(b *testing.B)

Source from the content-addressed store, hash-verified

361// MCDC STK-REQ-007: N/A
362// reqproof:proptest:skip performance benchmark; measures wall-clock time and allocations, output is non-deterministic and not comparable to an independent reference
363func BenchmarkFFJsonSmall(b *testing.B) {
364 for i := 0; i < b.N; i++ {
365 var data SmallPayload
366 ffjson.Unmarshal(smallFixture, &data)
367
368 nothing(data.Uuid, data.Tz, data.Ua, data.St)
369 }
370}
371
372/*
373 github.com/bitly/go-simplejson

Callers

nothing calls this directly

Calls 1

nothingFunction · 0.85

Tested by

no test coverage detected