Commit 765174a
Gsd/auto bench (#12)
* docs: start milestone v0.3.1 CI Benchmark Infrastructure
* docs: complete project research
* docs: define milestone v0.3.1 requirements
* docs: create milestone v0.3.1 roadmap (3 phases)
* docs(05): capture phase context
* docs(state): record phase 5 context session
* docs(05): research benchmark pipeline phase
* docs(05): add validation strategy
* docs(05): create phase plan
* feat(05-01): add benchmark CI workflow and update .gitignore
- Create benchmark.yml with workflow_run trigger on Tests+main
- Single Python 3.13 job with MongoDB+Redis services
- github-action-benchmark auto-push to gh-pages at dev/bench
- Document CI-01 (gh-pages setup) and CI-04 (release strategy)
- Add .benchmarks/ to .gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* chore(05-01): remove benchmark steps from tests.yml and delete legacy files
- Remove Run benchmarks, Visualize benchmarks, Upload benchmark results steps
- Delete docs/visualize_benchmarks.py (superseded by gh-pages dashboard)
- Delete .benchmarks/ local cache directory
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs(05-01): complete benchmark pipeline plan
- Add 05-01-SUMMARY.md with execution results
- Update STATE.md with plan completion and decisions
- Update ROADMAP.md with phase 5 progress
- Mark CI-01 through CI-04 requirements complete
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs(phase-05): complete phase execution
* docs(06): capture phase context
* docs(state): record phase 6 context session
* docs(06): research phase domain
* docs(phase-6): add validation strategy
* docs(06): create phase plan
* feat(06-01): add PR benchmark comparison and fail-on-regression gate
- Add pull_request trigger (opened, synchronize) alongside workflow_run
- Add concurrency group to cancel in-progress PR benchmark runs
- Split benchmark-action into main (auto-push) and PR (compare-only) steps
- PR step: summary-always, comment-on-alert, fail-on-alert at 150% threshold
- PR step: auto-push false, save-data-file false to avoid polluting gh-pages
- Document PR behavior and branch protection setup in header comments
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(benchmarks): prevent write_single from accumulating data across iterations
write_single tests created the DB once and appended in each benchmark
iteration, causing quadratic slowdown (2h+ hangs on CI). Two fixes:
- Create fresh DB per iteration (matches write_trajectory pattern)
- Cap to 10 frames (per-row overhead is the signal, not throughput)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs(08): capture phase context
* docs(state): record phase 8 context session
* docs(08): research phase domain
* docs(phase-8): add validation strategy
* docs(08): create phase plan for test isolation fix
* fix(08-01): add per-test group isolation to all facade fixtures
- Generate unique UUID-based group name per test invocation
- Pass group= uniformly to all 6 facade constructors (ASEIO, ObjectIO, BlobIO, AsyncASEIO, AsyncObjectIO, AsyncBlobIO)
- Prevents data leakage between MongoDB/Redis tests sharing a single server
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* docs(08-01): complete test isolation plan
- SUMMARY.md documents UUID-based group isolation for all facade fixtures
- STATE.md updated with phase 8 completion
- ROADMAP.md marks phase 8 plan complete
- REQUIREMENTS.md marks ISO-01, ISO-02, ISO-03 complete
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat(mongodb): make cache_ttl configurable with None to disable caching
The 1s TTL cache improves performance for typical use but prevents
cross-instance visibility in the stale-cache test. Adding cache_ttl
parameter (default 1.0, None=disabled) lets callers opt out when
they need immediate consistency across backend instances.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7b4b9c9 commit 765174a
35 files changed
Lines changed: 3181 additions & 5073 deletions
File tree
- .benchmarks/Darwin-CPython-3.11-64bit
- .github/workflows
- .planning
- phases
- 05-benchmark-pipeline
- 06-pr-feedback
- 08-fix-failing-tests-in-redis-mongo-backends-test-isolation
- quick/1-make-mongodb-backend-cache-ttl-configura
- research
- docs
- src/asebytes/mongodb
- tests
- benchmarks
- contract
Lines changed: 0 additions & 1967 deletions
This file was deleted.
Lines changed: 0 additions & 1967 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
| |||
83 | 90 | | |
84 | 91 | | |
85 | 92 | | |
86 | | - | |
| 93 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | | - | |
| 15 | + | |
11 | 16 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
21 | 89 | | |
22 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
23 | 94 | | |
24 | 95 | | |
25 | 96 | | |
26 | 97 | | |
27 | 98 | | |
28 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
0 commit comments