Commit Graph

1 Commits

Author SHA1 Message Date
24fad8f72f docs: Add comprehensive allocator benchmark comparison (Phase 3)
Benchmark Results:
- bench_random_mixed: hakmem 56.8M, system 84.5M, mimalloc 107M
- bench_tiny_hot: hakmem 81.0M, system 156.3M
- bench_mid_large_mt: hakmem 9.94M, system 8.40M (hakmem wins! +18.3%)

Key Findings:
1. Tiny allocations: hakmem is 0.52x slower than mimalloc (main weakness)
2. Mid/Large MT: hakmem is 1.18x faster than system (strength!)
3. Identified Tiny Front as optimization target for Phase 4

This benchmark comparison informed the Phase 4 optimization strategy:
- Focus on Tiny Front bottleneck (15-20 branches)
- Target: 2x improvement via PGO + Hot/Cold separation + Config optimization
- Expected: 56.8M → 110M+ ops/s (closing gap with mimalloc)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 11:28:51 +09:00