Skip to content

Streamline modules with persistent awk runtimes - #8

Merged
m1ngsama merged 1 commit into
mainfrom
agent/persistent-awk-runtime
Aug 18, 2026
Merged

m1ngsama merged 1 commit into
mainfrom
agent/persistent-awk-runtime

Conversation

@m1ngsama

Copy link
Copy Markdown
Owner

What changed

  • Convert all bundled modules and the echo fixture to one persistent awk process per module.
  • Preserve strict JSONL, UTF-8, control-character, and output-size boundaries.
  • Replace Markdown documentation with an installed, linted tnt-modules(7) manual page.
  • Expand compatibility checks across TNT v1.1.0, v1.3.0, and main.

Why

Eliminate per-message process creation and duplicated runtime logic without adding a dependency or weakening module isolation.

Validation

  • make release-check: checker 50/50, behavior 77/77, benchmark 22/22
  • TNT core-check and real SSH core-integration 7/7
  • Full 1, 4, and 8-slot load checks with zero drops
  • Event p95 reduced from 11.032 ms to about 0.239 ms
  • Canonical runtime reduced by 465 lines

@m1ngsama
m1ngsama merged commit 0631f75 into main Aug 18, 2026
5 checks passed
@m1ngsama
m1ngsama deleted the agent/persistent-awk-runtime branch August 18, 2026 11:30
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