|
|
6732088b83
|
Tiny Step 1: Perf Profile Complete - Hot path analysis
**Perf Profiling Results** (256B, 500K iterations, 8.31M ops/s)
Top User-Space Functions:
- tiny_alloc_fast: 4.52% (alloc hot path)
- classify_ptr: 3.65% (free path - pointer classification)
- free: 2.89% (free wrapper)
Total user-space: 13.8%
Kernel overhead: 86% (init + syscalls)
**Key Findings**:
✅ ss_refill_fc_fill NOT in top 10 → FC hit rate high
✅ Free path 36% heavier than alloc (classify_ptr optimization opportunity)
⚠️ Kernel overhead dominates (short workload, init heavy)
**Report**: TINY_PERF_PROFILE_STEP1.md (detailed analysis)
- Call graphs for hot paths
- Drain interval A/B test plan
- Front cache tuning strategy
**Next**: Step 2 - Drain interval A/B (512/1024/2048)
- ENV-only tuning, no code changes
- Test 128B, 256B workloads
- Metrics: throughput + syscalls + CPU time
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-14 17:00:38 +09:00 |
|