Moe Charm (CI)
10fb0497e2
Phase 62A: C7 ULTRA Alloc Dependency Chain Trim - NEUTRAL (-0.71%)
...
Implemented C7 ULTRA allocation hotpath optimization attempt as per Phase 62A instructions.
Objective: Reduce dependency chain in tiny_c7_ultra_alloc() by:
1. Eliminating per-call tiny_front_v3_c7_ultra_header_light_enabled() checks
2. Using TLS headers_initialized flag set during refill
3. Reducing branch count and register pressure
Implementation:
- New ENV box: core/box/c7_ultra_alloc_depchain_opt_box.h
- HAKMEM_C7_ULTRA_ALLOC_DEPCHAIN_OPT=0/1 gate (default OFF)
- Modified tiny_c7_ultra_alloc() with optimized path
- Preserved original path for compatibility
Results (Mixed benchmark, 10-run):
- Baseline (OPT=0): 59.300 M ops/s (CV 1.98%)
- Treatment (OPT=1): 58.879 M ops/s (CV 1.83%)
- Delta: -0.71% (NEUTRAL, within ±1.0% threshold but negative)
- Status: NEUTRAL → Research box (default OFF)
Root Cause Analysis:
1. LTO optimization already inlines header_light function (call cost = 0)
2. TLS access (memory load + offset) not cheaper than function call
3. Layout tax from code addition (I-cache disruption pattern from Phases 43/46A/47)
4. 5.18% stack % is not optimizable hotspot (already well-optimized)
Key Lessons:
- LTO-optimized function calls can be cheaper than TLS field access
- Micro-optimizations on already-optimized paths show diminishing/negative returns
- 48.34% gap to mimalloc is likely algorithmic, not micro-architectural
- Layout tax remains consistent pattern across attempted micro-optimizations
Decision:
- NEUTRAL verdict → kept as research box with ENV gate (default OFF)
- Not adopted as production default
- Next phases: Option B (production readiness pivot) likely higher ROI than further micro-opts
Box Theory Compliance: ✅ Compliant (single point, reversible, clear boundary)
Performance Compliance: ❌ No (-0.71% regression)
Documentation:
- PHASE62A_C7_ULTRA_DEPCHAIN_OPT_RESULTS.md: Full A/B test analysis
- CURRENT_TASK.md: Updated with results and next phase options
🤖 Generated with Claude Code
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2025-12-17 16:34:03 +09:00
..
2025-11-09 18:55:50 +09:00
2025-11-09 18:55:50 +09:00
2025-11-07 01:27:04 +09:00
2025-12-11 21:32:40 +09:00
2025-12-13 18:46:11 +09:00
2025-12-17 06:24:01 +09:00
2025-12-03 12:11:27 +09:00
2025-11-30 05:12:32 +09:00
2025-12-07 03:12:27 +09:00
2025-12-07 03:12:27 +09:00
2025-12-05 23:41:01 +09:00
2025-12-17 16:34:03 +09:00
2025-12-10 09:08:18 +09:00
2025-12-03 10:34:39 +09:00
2025-11-13 01:45:30 +09:00
2025-12-10 09:08:18 +09:00
2025-12-16 06:33:41 +09:00
2025-11-13 01:45:30 +09:00
2025-12-04 16:21:54 +09:00
2025-12-15 11:28:40 +09:00
2025-12-15 11:28:40 +09:00
2025-12-01 16:05:55 +09:00
2025-12-14 06:44:04 +09:00
2025-12-14 06:44:04 +09:00
2025-12-14 06:44:04 +09:00
2025-12-14 06:44:04 +09:00
2025-12-11 21:21:40 +09:00
2025-12-16 15:01:56 +09:00
2025-12-11 19:17:30 +09:00
2025-12-11 19:17:30 +09:00
2025-12-01 13:47:23 +09:00
2025-11-30 15:27:53 +09:00
2025-12-01 16:37:59 +09:00
2025-12-12 18:40:08 +09:00
2025-12-14 20:09:40 +09:00
2025-12-12 18:40:08 +09:00
2025-11-07 01:27:04 +09:00
2025-12-13 22:03:27 +09:00
2025-11-07 01:27:04 +09:00
2025-11-21 23:00:24 +09:00
2025-11-26 12:33:49 +09:00
2025-12-01 16:37:59 +09:00
2025-12-14 05:52:32 +09:00
2025-12-14 05:52:32 +09:00
2025-12-13 18:46:11 +09:00
2025-12-13 18:46:11 +09:00
2025-12-14 19:16:49 +09:00
2025-12-14 20:09:40 +09:00
2025-12-14 04:24:34 +09:00
2025-12-14 04:24:34 +09:00
2025-12-15 05:25:47 +09:00
2025-12-15 05:25:47 +09:00
2025-12-14 16:28:23 +09:00
2025-12-15 05:25:47 +09:00
2025-12-14 16:28:23 +09:00
2025-12-14 17:38:21 +09:00
2025-12-15 06:02:28 +09:00
2025-12-04 04:58:22 +09:00
2025-12-16 06:33:41 +09:00
2025-12-04 04:58:22 +09:00
2025-12-03 12:11:27 +09:00
2025-12-16 06:33:41 +09:00
2025-11-17 02:47:58 +09:00
2025-11-15 22:08:51 +09:00
2025-12-04 16:21:54 +09:00
2025-12-04 16:21:54 +09:00
2025-11-26 17:12:41 +09:00
2025-12-12 01:14:13 +09:00
2025-12-10 09:08:18 +09:00
2025-12-16 15:01:56 +09:00
2025-12-10 09:08:18 +09:00
2025-12-04 14:22:48 +09:00
2025-12-15 18:12:57 +09:00
2025-12-14 02:57:35 +09:00
2025-12-15 06:02:28 +09:00
2025-12-10 09:08:18 +09:00
2025-12-10 09:08:18 +09:00
2025-12-10 09:08:18 +09:00
2025-11-20 07:32:30 +09:00
2025-12-03 10:34:39 +09:00
2025-11-12 02:45:00 +09:00
2025-12-04 16:21:54 +09:00
2025-12-10 09:08:18 +09:00
2025-12-10 09:08:18 +09:00
2025-12-06 01:34:04 +09:00
2025-12-10 09:08:18 +09:00
2025-12-10 09:08:18 +09:00
2025-12-10 09:08:18 +09:00
2025-12-10 09:08:18 +09:00
2025-12-13 22:03:27 +09:00
2025-11-07 01:27:04 +09:00
2025-12-14 06:59:35 +09:00
2025-12-14 06:59:35 +09:00
2025-12-14 05:13:29 +09:00
2025-12-14 05:13:29 +09:00
2025-12-12 00:46:25 +09:00
2025-12-12 00:46:25 +09:00
2025-12-12 01:14:13 +09:00
2025-11-29 14:39:07 +09:00
2025-12-12 19:19:25 +09:00
2025-12-11 23:07:26 +09:00
2025-12-04 16:21:54 +09:00
2025-12-04 16:21:54 +09:00
2025-11-17 02:47:58 +09:00
2025-12-12 22:28:13 +09:00
2025-12-12 22:20:19 +09:00
2025-12-12 22:24:21 +09:00
2025-12-12 22:28:13 +09:00
2025-12-12 22:15:21 +09:00
2025-12-12 21:39:18 +09:00
2025-12-12 23:00:06 +09:00
2025-12-12 22:17:53 +09:00
2025-12-09 21:50:15 +09:00
2025-12-09 21:50:15 +09:00
2025-12-10 09:35:18 +09:00
2025-12-10 09:15:24 +09:00
2025-12-10 09:15:24 +09:00
2025-11-06 21:54:12 +09:00
2025-12-12 21:39:18 +09:00
2025-12-09 21:50:15 +09:00
2025-12-13 05:35:46 +09:00
2025-12-13 00:28:03 +09:00
2025-12-13 05:35:46 +09:00
2025-12-13 00:28:03 +09:00
2025-11-07 01:27:04 +09:00
2025-11-07 01:27:04 +09:00
2025-12-12 21:39:18 +09:00
2025-11-07 01:27:04 +09:00
2025-11-07 01:27:04 +09:00
2025-11-06 21:54:12 +09:00
2025-12-10 09:08:18 +09:00
2025-11-20 07:32:30 +09:00
2025-12-13 22:03:27 +09:00
2025-11-13 01:45:30 +09:00
2025-12-13 18:46:11 +09:00
2025-12-05 20:43:14 +09:00
2025-12-04 16:21:54 +09:00
2025-12-01 16:37:59 +09:00
2025-12-12 03:12:28 +09:00
2025-12-07 03:12:27 +09:00
2025-12-07 03:12:27 +09:00
2025-12-07 03:12:27 +09:00
2025-12-07 03:12:27 +09:00
2025-12-05 23:41:01 +09:00
2025-11-22 03:30:47 +09:00
2025-11-30 07:16:50 +09:00
2025-12-04 06:22:09 +09:00
2025-12-16 15:01:56 +09:00
2025-12-16 15:01:56 +09:00
2025-12-12 07:12:24 +09:00
2025-12-09 21:50:15 +09:00
2025-12-10 23:30:32 +09:00
2025-12-11 03:09:57 +09:00
2025-12-11 15:29:59 +09:00
2025-12-12 05:11:02 +09:00
2025-12-11 23:51:48 +09:00
2025-12-11 22:45:14 +09:00
2025-12-12 06:09:12 +09:00
2025-12-11 01:44:08 +09:00
2025-12-12 06:09:12 +09:00
2025-12-11 01:01:15 +09:00
2025-12-11 13:32:46 +09:00
2025-12-12 05:11:02 +09:00
2025-12-12 06:37:06 +09:00
2025-12-12 06:06:44 +09:00
2025-12-12 06:52:14 +09:00
2025-12-12 19:19:25 +09:00
2025-12-12 06:20:01 +09:00
2025-12-13 18:46:11 +09:00
2025-12-12 07:12:24 +09:00
2025-12-12 06:20:01 +09:00
2025-12-12 06:09:12 +09:00
2025-12-11 23:51:48 +09:00
2025-12-10 23:30:32 +09:00
2025-12-10 19:14:38 +09:00
2025-12-11 04:14:51 +09:00
2025-12-11 19:17:30 +09:00
2025-12-12 05:11:02 +09:00
2025-11-30 10:48:50 +09:00
2025-12-07 03:12:27 +09:00
2025-12-10 09:08:18 +09:00
2025-12-10 09:08:18 +09:00
2025-11-30 07:16:50 +09:00
2025-12-17 06:24:01 +09:00
2025-12-04 14:22:48 +09:00
2025-12-07 03:12:27 +09:00
2025-12-07 03:12:27 +09:00
2025-12-08 21:30:21 +09:00
2025-11-20 07:32:30 +09:00
2025-12-02 19:43:23 +09:00
2025-11-28 14:11:37 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-11-16 05:48:59 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-12-04 20:11:24 +09:00
2025-12-13 05:35:46 +09:00
2025-12-13 05:35:46 +09:00
2025-12-13 05:35:46 +09:00
2025-12-13 05:35:46 +09:00
2025-12-13 05:35:46 +09:00
2025-12-10 09:08:18 +09:00
2025-12-17 06:24:01 +09:00
2025-12-17 06:24:01 +09:00
2025-11-20 07:32:30 +09:00
2025-11-20 07:32:30 +09:00
2025-11-22 02:46:57 +09:00
2025-12-07 03:12:27 +09:00
2025-12-07 03:12:27 +09:00
2025-12-07 03:12:27 +09:00
2025-12-04 18:01:25 +09:00
2025-12-10 09:15:24 +09:00
2025-12-03 20:42:28 +09:00
2025-12-03 20:42:28 +09:00
2025-12-07 03:12:27 +09:00
2025-12-07 03:12:27 +09:00
2025-12-10 09:08:18 +09:00
2025-12-16 06:33:41 +09:00
2025-11-12 02:45:00 +09:00
2025-11-29 08:44:29 +09:00
2025-11-30 11:06:44 +09:00
2025-12-16 15:01:56 +09:00
2025-12-14 00:26:57 +09:00
2025-12-11 19:38:27 +09:00
2025-12-11 19:38:27 +09:00
2025-12-11 19:38:27 +09:00
2025-12-11 19:26:51 +09:00
2025-12-11 19:26:51 +09:00
2025-12-11 19:26:51 +09:00
2025-12-12 16:26:42 +09:00
2025-12-11 19:01:59 +09:00
2025-12-11 18:34:27 +09:00
2025-12-11 18:34:27 +09:00
2025-12-12 18:40:08 +09:00
2025-12-07 22:49:28 +09:00
2025-12-15 02:19:26 +09:00
2025-12-15 02:19:26 +09:00
2025-12-11 20:39:46 +09:00
2025-12-10 22:19:32 +09:00
2025-12-07 03:12:27 +09:00
2025-12-07 03:12:27 +09:00
2025-12-07 03:12:27 +09:00
2025-12-16 05:35:11 +09:00
2025-12-09 21:50:15 +09:00
2025-12-13 19:19:42 +09:00
2025-12-13 19:19:42 +09:00
2025-12-10 09:08:18 +09:00
2025-12-14 18:49:08 +09:00
2025-12-14 18:49:08 +09:00
2025-12-10 09:08:18 +09:00
2025-12-03 12:43:02 +09:00
2025-12-16 05:35:11 +09:00
2025-12-13 18:46:11 +09:00
2025-12-16 15:01:56 +09:00
2025-11-30 10:48:50 +09:00
2025-11-30 10:48:50 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-12-16 05:35:11 +09:00
2025-12-14 06:22:25 +09:00
2025-12-14 06:22:25 +09:00
2025-12-08 21:30:21 +09:00
2025-12-08 21:30:21 +09:00
2025-12-09 21:50:15 +09:00
2025-12-15 00:32:25 +09:00
2025-12-15 12:50:16 +09:00
2025-12-07 03:12:27 +09:00
2025-12-07 03:12:27 +09:00
2025-12-16 15:01:56 +09:00
2025-12-13 19:19:42 +09:00
2025-12-15 12:50:16 +09:00
2025-12-04 16:21:54 +09:00
2025-11-20 07:32:30 +09:00
2025-11-28 13:42:39 +09:00
2025-12-07 03:12:27 +09:00
2025-12-10 09:08:18 +09:00
2025-12-07 03:12:27 +09:00
2025-12-06 01:34:04 +09:00
2025-12-04 05:54:54 +09:00
2025-12-11 19:02:49 +09:00
2025-12-05 23:41:01 +09:00
2025-12-05 23:41:01 +09:00
2025-12-12 03:12:28 +09:00
2025-11-20 07:32:30 +09:00
2025-11-20 07:32:30 +09:00
2025-11-20 07:32:30 +09:00
2025-12-13 18:46:11 +09:00
2025-12-13 18:46:11 +09:00
2025-12-08 21:30:21 +09:00
2025-12-15 01:28:50 +09:00
2025-12-15 01:28:50 +09:00
2025-12-15 01:28:50 +09:00
2025-12-10 09:08:18 +09:00
2025-12-11 19:38:27 +09:00
2025-12-12 16:31:14 +09:00
2025-12-12 16:31:14 +09:00
2025-12-15 02:19:26 +09:00
2025-12-15 02:19:26 +09:00
2025-12-15 02:19:26 +09:00
2025-11-28 13:42:39 +09:00
2025-12-07 22:49:28 +09:00
2025-12-02 23:29:07 +09:00
2025-12-03 18:06:24 +09:00
2025-12-04 16:21:54 +09:00
2025-12-04 12:55:53 +09:00
2025-12-05 23:41:01 +09:00
2025-12-07 03:12:27 +09:00
2025-12-05 23:41:01 +09:00
2025-12-07 03:12:27 +09:00
2025-12-05 23:41:01 +09:00
2025-12-13 18:46:11 +09:00
2025-12-13 18:46:11 +09:00
2025-12-13 22:03:27 +09:00
2025-12-13 22:03:27 +09:00