summaryrefslogtreecommitdiff
path: root/profiling/profile_benchmarks.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-26 21:45:11 +0300
committerPaul Buetow <paul@buetow.org>2025-06-26 21:45:11 +0300
commit62d9774b4c2f776de60e8231fa6b8378d8afef4d (patch)
tree3e98ddc8f4bd42c486e142cf285850d9bb9b7ae4 /profiling/profile_benchmarks.sh
parentbdcc5cf8b7775d90c51460d45d9bbf1a655c1230 (diff)
fix: update profiling scripts to use correct path for generate_profile_data.go
- Fixed path references to generate_profile_data.go in profile_quick.sh and profile_benchmarks.sh (now ../benchmarks/cmd/) - Fixed dmap profiling in profile_quick.sh to use proper MapReduce query format and interrupt after 3 seconds (since dmap runs continuously) - Added CSV logformat specification for dmap query on CSV files This fixes the "make profile-quick" and "make profile-auto" commands that were failing due to incorrect paths after moving the profiling scripts from benchmarks/ to profiling/. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'profiling/profile_benchmarks.sh')
-rwxr-xr-xprofiling/profile_benchmarks.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/profiling/profile_benchmarks.sh b/profiling/profile_benchmarks.sh
index 6be86cd..4716192 100755
--- a/profiling/profile_benchmarks.sh
+++ b/profiling/profile_benchmarks.sh
@@ -35,8 +35,8 @@ generate_test_data() {
if [ ! -f "$filename" ]; then
echo -e "${YELLOW}Generating test data: $filename (${size})${NC}"
# Use the standalone generator
- echo " Command: go run cmd/generate_profile_data.go -size \"${size}\" -output \"$filename\" -format log"
- go run cmd/generate_profile_data.go -size "${size}" -output "$filename" -format log
+ echo " Command: go run ../benchmarks/cmd/generate_profile_data.go -size \"${size}\" -output \"$filename\" -format log"
+ go run ../benchmarks/cmd/generate_profile_data.go -size "${size}" -output "$filename" -format log
fi
}
@@ -112,8 +112,8 @@ generate_test_data "10MB" "$TEST_DATA_DIR/medium.log"
# Generate CSV data for dmap (smaller size for faster processing)
if [ ! -f "$TEST_DATA_DIR/test.csv" ]; then
echo -e "${YELLOW}Generating CSV test data${NC}"
- echo " Command: go run cmd/generate_profile_data.go -size \"10MB\" -output \"$TEST_DATA_DIR/test.csv\" -format csv"
- go run cmd/generate_profile_data.go -size "10MB" -output "$TEST_DATA_DIR/test.csv" -format csv
+ echo " Command: go run ../benchmarks/cmd/generate_profile_data.go -size \"10MB\" -output \"$TEST_DATA_DIR/test.csv\" -format csv"
+ go run ../benchmarks/cmd/generate_profile_data.go -size "10MB" -output "$TEST_DATA_DIR/test.csv" -format csv
fi
echo