Files
hakmem/run_competitors.sh
Moe Charm (CI) 52386401b3 Debug Counters Implementation - Clean History
Major Features:
- Debug counter infrastructure for Refill Stage tracking
- Free Pipeline counters (ss_local, ss_remote, tls_sll)
- Diagnostic counters for early return analysis
- Unified larson.sh benchmark runner with profiles
- Phase 6-3 regression analysis documentation

Bug Fixes:
- Fix SuperSlab disabled by default (HAKMEM_TINY_USE_SUPERSLAB)
- Fix profile variable naming consistency
- Add .gitignore patterns for large files

Performance:
- Phase 6-3: 4.79 M ops/s (has OOM risk)
- With SuperSlab: 3.13 M ops/s (+19% improvement)

This is a clean repository without large log files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-05 12:31:14 +09:00

31 lines
1.0 KiB
Bash

#!/bin/bash
# Quick competitor benchmark (jemalloc & mimalloc only)
RUNS=50
SCENARIOS=("json" "mir" "vm" "mixed")
for scenario in "${SCENARIOS[@]}"; do
echo "📊 jemalloc - $scenario"
for ((i=1; i<=RUNS; i++)); do
printf "\r Progress: %d/%d" "$i" "$RUNS"
LD_PRELOAD=/lib/x86_64-linux-gnu/libjemalloc.so.2 \
./bench_allocators_system --allocator jemalloc --scenario "$scenario" --iterations 1 2>/dev/null \
| grep "^jemalloc," >> full_benchmark.csv || true
done
echo ""
done
for scenario in "${SCENARIOS[@]}"; do
echo "📊 mimalloc - $scenario"
for ((i=1; i<=RUNS; i++)); do
printf "\r Progress: %d/%d" "$i" "$RUNS"
LD_PRELOAD=/lib/x86_64-linux-gnu/libmimalloc.so.2 \
./bench_allocators_system --allocator mimalloc --scenario "$scenario" --iterations 1 2>/dev/null \
| grep "^mimalloc," >> full_benchmark.csv || true
done
echo ""
done
echo "✅ Competitors added to full_benchmark.csv"
wc -l full_benchmark.csv