diff options
| -rw-r--r-- | benchmarks/cmd/generate_profile_data/main.go (renamed from benchmarks/cmd/generate_profile_data.go) | 0 | ||||
| -rw-r--r-- | benchmarks/cmd/profile_example/main.go (renamed from benchmarks/cmd/profile_example.go) | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/cmd/generate_profile_data.go b/benchmarks/cmd/generate_profile_data/main.go index 0b34047..0b34047 100644 --- a/benchmarks/cmd/generate_profile_data.go +++ b/benchmarks/cmd/generate_profile_data/main.go diff --git a/benchmarks/cmd/profile_example.go b/benchmarks/cmd/profile_example/main.go index 01d4a66..297254a 100644 --- a/benchmarks/cmd/profile_example.go +++ b/benchmarks/cmd/profile_example/main.go @@ -281,7 +281,7 @@ func suggestOptimizations(tool string, analysis string) { // Helper function to demonstrate how to use profiling in tests func ExampleBenchmarkWithProfiling() { // This would typically be in a _test.go file - fmt.Println(` + fmt.Print(` Example benchmark with profiling: func BenchmarkDCatLargeFile(b *testing.B) { @@ -313,4 +313,4 @@ func BenchmarkDCatLargeFile(b *testing.B) { Run with: go test -bench=BenchmarkDCatLargeFile -cpuprofile=cpu.prof -memprofile=mem.prof `) -}
\ No newline at end of file +} |
