Skip to content

perf(session-memory): use native timed join for generated reader - #86

Merged
8Dionysus merged 1 commit into
mainfrom
codex/validation-speed-session-timed-join-20260907
Sep 7, 2026
Merged

perf(session-memory): use native timed join for generated reader#86
8Dionysus merged 1 commit into
mainfrom
codex/validation-speed-session-timed-join-20260907

Conversation

@8Dionysus

Copy link
Copy Markdown
Owner

Summary

  • replace the generated-reader polling loop's fixed 50 ms join slices with one native Process.join(timeout=remaining) call
  • preserve the existing deadline, atomic-file response read, timeout, terminate/kill/reap, and fallback behavior

Validation

  • focused timeout/transport/fallback/route canary: 13 passed in 12.94s (CPU0)
  • three uninstrumented graph-command pairs on CPU0: mean wall 13.30s -> 10.95s (-17.7%); mean user+sys CPU 11.00s -> 10.13s (-7.9%)
  • git diff --check: clean
  • python3 -m py_compile scripts/aoa_session_memory.py: passed with external pycache

Evidence: /srv/abyss-machine/tmp/ai/validation-speed-session-timed-join-20260907-evidence/.

The local benchmark is directional (CPU0, three pairs), not a CI or release claim. No permanent latency test was added.

@8Dionysus
8Dionysus merged commit 70167c4 into main Sep 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant