summaryrefslogtreecommitdiff
path: root/benchmarks/cmd/profile_example.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-26 22:40:27 +0300
committerPaul Buetow <paul@buetow.org>2025-06-26 22:40:27 +0300
commitafba86489b00a2f5ac4d39b2853c2c51c2931536 (patch)
tree934ab9c6805dbc17bf71cd4b30f827c10a58a192 /benchmarks/cmd/profile_example.go
parent91e4743ce5ddab8f6359009bb45e243d4726bcdb (diff)
Remove bash scripts and update documentation to use dtail-tools
Following the successful refactoring to Go-based tooling, this commit: 1. Removes all obsolete bash scripts: - benchmarks/benchmark.sh - profiling/profile.sh - profiling/profile_benchmarks.sh - profiling/profile_dmap.sh - profiling/profile_quick.sh 2. Updates all documentation to use dtail-tools: - README.md: Updated benchmark commands to use dtail-tools - PROFILING.md: Updated profiling instructions to use dtail-tools 3. Updates Go code references: - profile_runner.go: Uses dtail-tools instead of profile.sh - profile_example.go: Uses dtail-tools for profile analysis The new dtail-tools provides all the functionality of the old bash scripts with better cross-platform compatibility, error handling, and maintainability. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'benchmarks/cmd/profile_example.go')
-rw-r--r--benchmarks/cmd/profile_example.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/cmd/profile_example.go b/benchmarks/cmd/profile_example.go
index f996565..01d4a66 100644
--- a/benchmarks/cmd/profile_example.go
+++ b/benchmarks/cmd/profile_example.go
@@ -219,9 +219,9 @@ func analyzeProfiles() {
fmt.Printf("\nAnalyzing %s CPU profile:\n", tool)
- // Run profile.sh
- cmd := exec.Command("../profiling/profile.sh",
- "-top", "5",
+ // Run dtail-tools profile analyze
+ cmd := exec.Command("../dtail-tools",
+ "profile", "-mode", "analyze",
latestProfile)
output, err := cmd.CombinedOutput()