Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/perf-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Recommended fixes (incremental):
- Prefer `Uuid::new_v4()` (or a fast 128-bit random) for leases unless you need time-sortable IDs; you already index lease expiry by timestamp.
- Minimize logging in hot paths or gate behind `trace`.
- Avoid rebuilding Cap’n Proto messages where a lightweight copy/reference suffices.
- UUID generation batching (tried, no win): We pre-generated uuidv7 values in a tight loop with preallocated buffers to reduce per-call overhead. Benchmarks and e2e tests showed no measurable throughput or CPU improvement, so this change was reverted. See PR: <INSERT_PR_LINK_HERE>.

### Larger simplification (optional)

Expand Down