Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/segmentio/ksuid
/ BenchmarkString
Function
BenchmarkString
ksuid_test.go:339–345 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
337
}
338
339
func
BenchmarkString(b *testing.B) {
340
k := New()
341
342
for
i := 0; i != b.N; i++ {
343
_ = k.String()
344
}
345
}
346
347
func
BenchmarkParse(b *testing.B) {
348
for
i := 0; i != b.N; i++ {
Callers
nothing calls this directly
Calls
2
New
Function · 0.85
String
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…