Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/restic/restic
/ BenchmarkLogStatic
Function
BenchmarkLogStatic
internal/debug/log_test.go:10–14 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
8
)
9
10
func
BenchmarkLogStatic(b *testing.B) {
11
for
i := 0; i < b.N; i++ {
12
debug.Log(
"Static string"
)
13
}
14
}
15
16
func
BenchmarkLogIDStr(b *testing.B) {
17
id := restic.NewRandomID()
Callers
nothing calls this directly
Calls
1
Log
Function · 0.92
Tested by
no test coverage detected