perf: request path — XRPC transport, serialization, auth and server allocations, plus debloat #194

Closed
opened 2026-10-05 02:10:26 +00:00 by Grandiras · 0 comments
Owner

Goal

Cut allocations and latency on the per-request path, and reduce code lines, without changing behaviour.

Scope

src/ATProtoNet/{Http,Serialization,Auth,Caching,Models}, AtProtoClient.cs, RecordCollection.cs, and src/ATProtoNet.Server outside Spaces/.

Measured before/after with BenchmarkDotNet (allocated bytes and time per operation); duplication and dead code removed along the way.

### Goal Cut allocations and latency on the per-request path, and reduce code lines, without changing behaviour. ### Scope `src/ATProtoNet/{Http,Serialization,Auth,Caching,Models}`, `AtProtoClient.cs`, `RecordCollection.cs`, and `src/ATProtoNet.Server` outside `Spaces/`. Measured before/after with BenchmarkDotNet (allocated bytes and time per operation); duplication and dead code removed along the way.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Grandiras/ATProto.NET#194
No description provided.