Skip to content

perf: reuse logging locks and cache source paths - #416

Open
codeforester wants to merge 7 commits into
bug/387-20261003-bug-configure-logger-closes-consumer-owned-handlers-and-forcfrom
enhancement/381-20261003-perf-lifecycle-logging-costs-107-us-record-about-20x-stdlib
Open

codeforester wants to merge 7 commits into
bug/387-20261003-bug-configure-logger-closes-consumer-owned-handlers-and-forcfrom
enhancement/381-20261003-perf-lifecycle-logging-costs-107-us-record-about-20x-stdlib

Conversation

@codeforester

@codeforester codeforester commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Persistent logging now reuses its private sidecar descriptor and caches human-log source paths per invocation. Repeated source paths avoid filesystem resolution, forked children reopen their lock descriptor, and sidecar failures use logging's error handler so commands can complete.

Fixes #381.

Branch maintenance

Refs #426. Targets the branch for #415. Retarget and refresh after that parent is squash-merged; preserve the ordered stack.

The branch was refreshed without rewriting history to include main at a576cc279739eae5e4cfc33ffab2a7fb56de24de.

Current-head validation

At 66ce2689a0b5859ad25927aaa9274c7a4ff5ab19: uv lock freshness and baseline, runtime, strict typing, style, and contracts passed locally with all declared extras. Runtime result: 616 passed, 1 warning, 262 subtests passed in 8.57s.

Hosted checks: 7/7 required checks passed; 0 checks pending; 0 unsuccessful checks at 2026-10-04T14:19:40.760978+00:00. See the PR Checks tab and #426 for subsequent results.

…wned-handlers-and-forc' into enhancement/381-20261003-perf-lifecycle-logging-costs-107-us-record-about-20x-stdlib
…wned-handlers-and-forc' into enhancement/381-20261003-perf-lifecycle-logging-costs-107-us-record-about-20x-stdlib
…wned-handlers-and-forc' into enhancement/381-20261003-perf-lifecycle-logging-costs-107-us-record-about-20x-stdlib

This branch has not been deployed

No deployments
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