diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-08 09:26:04 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-08 09:26:04 +0200 |
| commit | 8b2635cd100cf9dc217ee9b472a02999a7d3fdf4 (patch) | |
| tree | 9fb77b722b374b14c4d57791e1ca7a931bb3b16f /benchmarks | |
| parent | ec1504e0cedbfeffc35e50a09633e51e93bf0e2d (diff) | |
task: fix benchmarks cmd package build collision (task 371)
Diffstat (limited to 'benchmarks')
| -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 +} |
