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

Function BenchmarkExtendReuseSlice

tempodb/encoding/vparquet3/schema_test.go:515–520  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

513}
514
515func BenchmarkExtendReuseSlice(b *testing.B) {
516 in := []int{1, 2, 3}
517 for i := 0; i < b.N; i++ {
518 _ = extendReuseSlice(100, in)
519 }
520}
521
522func TestTraceToParquetRootSpanWithChildOfLink(t *testing.T) {
523 traceID := common.ID{0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F}

Callers

nothing calls this directly

Calls 1

extendReuseSliceFunction · 0.70

Tested by

no test coverage detected