Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tinylib/msgp
/ BenchmarkWriteTime
Function
BenchmarkWriteTime
msgp/write_test.go:432–441 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
430
}
431
432
func
BenchmarkWriteTime(b *testing.B) {
433
t := time.Now()
434
wr := NewWriter(Nowhere)
435
b.SetBytes(15)
436
b.ReportAllocs()
437
b.ResetTimer()
438
for
i := 0; i < b.N; i++ {
439
wr.WriteTime(t)
440
}
441
}
Callers
nothing calls this directly
Calls
2
WriteTime
Method · 0.95
NewWriter
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…