Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions docs/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
36 changes: 36 additions & 0 deletions docs/performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
11 changes: 11 additions & 0 deletions docs/week8-performance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions docs/writeups/module-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading