MCPcopy Index your code
hub / github.com/tinylib/msgp / BenchmarkReadTimeBytes

Function BenchmarkReadTimeBytes

msgp/read_bytes_test.go:682–690  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

680}
681
682func BenchmarkReadTimeBytes(b *testing.B) {
683 data := AppendTime(nil, time.Now())
684 b.SetBytes(15)
685 b.ReportAllocs()
686 b.ResetTimer()
687 for i := 0; i < b.N; i++ {
688 ReadTimeBytes(data)
689 }
690}
691
692func TestReadIntfBytes(t *testing.T) {
693 var buf bytes.Buffer

Callers

nothing calls this directly

Calls 2

AppendTimeFunction · 0.85
ReadTimeBytesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…