kubernetes/test/integration/logs/benchmark/benchmark_test.go

func BenchmarkEncoding(b *testing.B) {}

type loadGeneratorConfig

// BenchmarkWriting simulates writing of a stream which mixes info and error log
// messages at a certain ratio. In contrast to BenchmarkEncoding, this stresses
// the output handling and includes the usual additional information (caller,
// time stamp).
//
// See https://github.com/kubernetes/kubernetes/issues/107029 for the
// motivation.
func BenchmarkWriting(b *testing.B) {}

func benchmarkWriting(b *testing.B, config loadGeneratorConfig) {}

func benchmarkOutputFormats(b *testing.B, config loadGeneratorConfig, discard bool) {}

func benchmarkOutputFormat(b *testing.B, config loadGeneratorConfig, discard bool, format string) {}

func benchmarkOutputFormatStream(b *testing.B, config loadGeneratorConfig, discard bool, format string, splitStreams bool) {}

func generateOutput(b *testing.B, config loadGeneratorConfig, files ...*os.File) {}