From ec6b5f84a177860ae230cd49477ea92521a78213 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Sun, 4 Oct 2026 00:40:18 +0200 Subject: [PATCH] Record actual Fabric dispatch fixture results with measurement limits --- .../linux-applied-hooks.json | 34 +++++++++++++++++++ docs/dispatch-retry.md | 8 +++++ 2 files changed, 42 insertions(+) create mode 100644 benchmarks/dispatch-retry-2026-10-04/linux-applied-hooks.json diff --git a/benchmarks/dispatch-retry-2026-10-04/linux-applied-hooks.json b/benchmarks/dispatch-retry-2026-10-04/linux-applied-hooks.json new file mode 100644 index 000000000..9d5d9ee8e --- /dev/null +++ b/benchmarks/dispatch-retry-2026-10-04/linux-applied-hooks.json @@ -0,0 +1,34 @@ +{ + "schema": 1, + "platform": "Linux-6.17.0-1022-azure-x86_64-with-glibc2.39", + "architecture": "x86_64", + "minecraft": "26.3", + "distant_horizons": "3.3.4", + "results": [ + { + "enabled": false, + "submission_allocated_bytes": 216987192, + "submission_cpu_ns": 372949442, + "submission_wall_ns": 401548875, + "rejections": 63790, + "tasks_completed": 2, + "occupied_slots": 0 + }, + { + "enabled": true, + "submission_allocated_bytes": 103384, + "submission_cpu_ns": 941367, + "submission_wall_ns": 959453, + "rejections": 6, + "tasks_completed": 2, + "occupied_slots": 0 + } + ], + "notes": [ + "Synthetic full physical worker queue; both modes use the actual publisher dispatcher inside Fabric.", + "Allocation and CPU measure the submission caller only; retry scheduler activity is excluded.", + "Upstream keeps the caller blocked for the requested 200 ms observation window; patched returns earlier.", + "Both modes verify exact task counts, recovered occupied slots and fixture worker shutdown.", + "Not a game FPS, terrain completion, whole-game RAM, or hardware compatibility benchmark." + ] +} diff --git a/docs/dispatch-retry.md b/docs/dispatch-retry.md index 741997390..62e70865a 100644 --- a/docs/dispatch-retry.md +++ b/docs/dispatch-retry.md @@ -56,6 +56,14 @@ earlier patched return produce different caller durations; these measurements describe the rejected-submission path, not normal task throughput. Linux CI runs the applied hooks; Windows and ARM Mac CI compile the fixture and production mod. +In [Linux CI run 37158922187](https://github.com/ludovic111/minecraft-optimization-lab/actions/runs/37158922187), +[the raw fixture result](../benchmarks/dispatch-retry-2026-10-04/linux-applied-hooks.json) +reported 216,987,192 caller allocation bytes and 63,790 rejections upstream, +versus 103,384 caller bytes and 6 rejections with the hook. Caller wall times were +401.549 ms and 0.959 ms respectively. These are single, unwarmed failure-path +observations, including initialization/JIT effects, rather than normal throughput +or a fixed-duration whole-process comparison. Both modes completed two tasks. + An initial patched Linux game also loaded, recorded 120 seconds and shut down normally. Its subsequent JFR capture avoided the earlier allocation storm. The captures had different cache histories; they do not establish an FPS or