MCPcopy
hub / github.com/grafana/tempo / BenchmarkSortTraceAndAttributes

Function BenchmarkSortTraceAndAttributes

pkg/model/trace/sort_test.go:290–295  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

288}
289
290func BenchmarkSortTraceAndAttributes(b *testing.B) {
291 tr := testTraceForSorting()
292 for i := 0; i < b.N; i++ {
293 SortTraceAndAttributes(tr)
294 }
295}

Callers

nothing calls this directly

Calls 2

testTraceForSortingFunction · 0.85
SortTraceAndAttributesFunction · 0.85

Tested by

no test coverage detected