From b6422cb361b8f05ce2dd3a6d82f7650d45c5655f Mon Sep 17 00:00:00 2001 From: mahis1067 Date: Thu, 19 Nov 2026 21:39:52 -0500 Subject: [PATCH] Finalize storage Week 10 handoff Record exact-revision demo and benchmark evidence, reconcile historical storage measurements, and document the remaining teammate rehearsal explicitly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- docs/demo.md | 17 ++++++++++++----- docs/performance.md | 36 ++++++++++++++++++++++++++++++++++++ docs/week8-performance.md | 11 +++++++++++ docs/writeups/module-1.md | 7 +++++++ 4 files changed, 66 insertions(+), 5 deletions(-) diff --git a/docs/demo.md b/docs/demo.md index 7fb1283..5beac88 100644 --- a/docs/demo.md +++ b/docs/demo.md @@ -86,8 +86,15 @@ The original storage flow was reported as rehearsed on `006740a` with Python quality check passes all 445 tests, including 82 object tests. The final #72 commit identifies the complete script and documentation revision. -Another teammate must still follow this segment at the final shared-checkpoint -revision and record their name, revision, environment, and any blockers in -#60/#67. This local validation does not claim that teammate rehearsal or the -full project demo is complete. Pruning, garbage collection, delta compression, -and a pack CLI remain outside this segment. +The final integrated storage run was repeated on 2026-11-19 at +`2e875865a312479abecb475a77fddee73fcd5667` on Windows 10 build 26200 with +Python 3.11.9. The demo printed the exact block above; all 82 object tests +passed, and the full Ruff lint, formatting, and pytest checks passed with +433 tests passed and 12 skipped. The storage benchmark for this revision is +in [the performance report](performance.md#final-week-10-windows-checkpoint). + +A teammate must still follow this segment at the final shared-checkpoint +revision and record their name, revision, environment, and blockers in #60/#67. +This local validation does not claim that teammate rehearsal or the full +project demo is complete. Pruning, garbage collection, delta compression, and +a pack CLI remain outside this segment. diff --git a/docs/performance.md b/docs/performance.md index 11f960a..f9bec53 100644 --- a/docs/performance.md +++ b/docs/performance.md @@ -157,3 +157,39 @@ larger than the 27,534-byte loose-only representation. Packing retains loose originals until the benchmark deliberately removes them in its disposable fixture. Neither these measurements nor the older Windows runs complete the shared project benchmark in #47/#58. + +## Final Week 10 Windows checkpoint + +Re-run on 2026-11-19 at final integrated storage revision +`2e875865a312479abecb475a77fddee73fcd5667`, after checking out +`docs/week10-storage-handoff`, with Python 3.11.9 and +Windows 10 build 26200 on the local development machine. The commands were: + +```powershell +.\.venv\Scripts\python.exe scripts\benchmark_packfiles.py --profile +.\.venv\Scripts\python.exe scripts\benchmark_packfiles.py --no-cache --profile +``` + +Both runs use a fresh temporary repository, 512 objects, a 22-byte unique +prefix, and a 2,048-byte repeated payload per blob. The measured fresh read +uses a new `ObjectStore` instance for one pass; the profile uses another new +store and three passes. These are one-run observations, not CI thresholds. + +| Measurement | Cached | `--no-cache` | +| --- | ---: | ---: | +| Loose object write time | 627.685 ms | 630.954 ms | +| Loose stored bytes | 27,534 | 27,534 | +| Loose fresh-store read time | 5,558.751 ms | 4,723.956 ms | +| Pack time | 148.529 ms | 151.519 ms | +| Retained loose bytes after packing | 27,534 | 27,534 | +| Pack bytes | 33,179 | 33,179 | +| Index bytes | 18,444 | 18,444 | +| Packed-only fresh-store read time | 270.926 ms | 4,793.757 ms | +| Three repeated packed reads, profiled | 0.874 s | 23.205 s | + +At this revision, `--no-cache` bypasses the 64-entry parsed-index metadata +cache on the current code while preserving complete index and pack validation. +It is not an exact historical reproduction. The one-pack fixture does not +isolate the cache bound or inode signature; it is still the reproducible M1 +storage measurement, separate from #47/#58's shared project and network +checkpoint. diff --git a/docs/week8-performance.md b/docs/week8-performance.md index b787dd8..398e629 100644 --- a/docs/week8-performance.md +++ b/docs/week8-performance.md @@ -85,6 +85,17 @@ publication tests cover invalid indexes and records, truncation and zlib failures, wrong hashes, and failed publication. These tests assert behavior, not wall-clock thresholds. +## Final checkpoint reconciliation + +The final integrated Windows run at revision +`2e875865a312479abecb475a77fddee73fcd5667` measured 270.926 ms for a cached +packed-only fresh read and 4,793.757 ms with `--no-cache`; the corresponding +three-pass profile took 0.874 s and 23.205 s. The 512-object fixture and +Python/Windows environment are recorded in +[the shared performance report](performance.md#final-week-10-windows-checkpoint). +These values replace neither historical Mac nor Windows observations; they +are the exact-revision evidence for the storage segment. + ## Remaining findings and scope - Loose reads remain sensitive to Windows filesystem latency; this change does diff --git a/docs/writeups/module-1.md b/docs/writeups/module-1.md index b371849..84fe7fd 100644 --- a/docs/writeups/module-1.md +++ b/docs/writeups/module-1.md @@ -110,6 +110,13 @@ removes them. `--no-cache` disables reuse on the same code, not an exact historical checkout. Earlier Windows measurements remain separately labeled in the performance documents. +The exact final Windows checkpoint at +`2e875865a312479abecb475a77fddee73fcd5667` used Python 3.11.9 on Windows 10 +build 26200. It measured 270.926 ms for one cached packed-only fresh read and +4,793.757 ms for `--no-cache`; three profiled passes took 0.874 s cached and +23.205 s uncached. These are the storage-only handoff measurements, not a +shared-project or network result. + This storage-only fixture does not complete the shared project/network benchmark in #47/#58. The one-pack measurement also does not isolate the effect of the 64-entry bound or inode checks added in #71.