perf(onset): on log <file> in one request, and onset-server sends an answer whole
Radin committed
- Author
- Radin · radin@coline.appNov 3, 2026 at 19:14
- Committer
- Radin · radin@coline.appNov 3, 2026 at 19:14
- Parents
- 25a151103b33
perf(onset): on log <file> in one request, and onset-server sends an answer whole onset-server wrote an answer's headers and body apart; with Nagle on, the body waited for the client's delayed ACK of the headers, 40 ms on every second request over a kept-alive connection. Connections now take TCP_NODELAY from the listener. A version or path argument asked the host for its tags first, even a number (Option::or is eager): tags::version asks only for text that isn't a number, and on log skips it for a file or folder here. Same-machine bench, 5,000 versions: on log <file> 50 -> 6 ms (git 2 ms); self-hosted land 0.14 -> 0.10 s, 64 agents 3.0 -> 1.3 s, blame 58 -> 43 ms. SPEC: Homebrew installs from Coline's tap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 files changed+29−7