|
|
84f5034e45
|
Phase 68: PGO training set diversification (seed/WS expansion)
Changes:
- scripts/box/pgo_fast_profile_config.sh: Expanded WS patterns (3→5) and seeds (1→3)
for reduced overfitting and better production workload representativeness
- PERFORMANCE_TARGETS_SCORECARD.md: Phase 68 baseline promoted (61.614M = 50.93%)
- CURRENT_TASK.md: Phase 68 marked complete, Phase 67a (layout tax forensics) set Active
Results:
- 10-run verification: +1.19% vs Phase 66 baseline (GO, >+1.0% threshold)
- M1 milestone: 50.93% of mimalloc (target 50%, exceeded by +0.93pp)
- Stability: 10-run mean/median with <2.1% CV
🤖 Generated with Claude Code
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
2025-12-17 21:08:17 +09:00 |
|
|
|
b01c99f209
|
Phase: Pool API Modularization - Steps 1-2
Extract configuration, statistics, and caching boxes from pool_api.inc.h
Step 1: pool_config_box.h (60 lines)
- All ENV gate predicates (hak_pool_v2_enabled, hak_pool_v1_flatten_enabled, etc)
- Lazy static int cache pattern (matches tiny_heap_env_box.h style)
- Zero dependencies (lowest-level box)
Step 2a: pool_stats_box.h (90 lines)
- PoolV1FlattenStats structure with multi-phase support
- pool_v1_flat_stats_dump() with phase-aware output
- Destructor hook for automatic dumping on exit
- Multi-phase design: supports future phases without refactoring
Step 2b: pool_mid_desc_cache_box.h (60 lines)
- MidDescCache structure (TLS-local single-entry LRU)
- mid_desc_lookup_cached() with fast TLS hit path
- Minimal external dependency: mid_desc_lookup from pool_mid_desc.inc.h
Result: pool_api.inc.h reduced from 1050+ lines to ~950 lines
Still contains: alloc/free implementations, helpers (next steps)
Build: ✅ Clean (no warnings)
Test: ✅ Benchmark passes (8.5M ops/s)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2025-12-12 21:39:18 +09:00 |
|