Zero-allocation audit: identify and eliminate hot path allocations #12

Open
opened 2026-02-19 21:28:31 +00:00 by ash · 0 comments
Owner

What

Profile eskit hot paths and eliminate allocations where possible.

Focus areas

  • Event append path
  • Event read path
  • CommandBus dispatch
  • Subscription event delivery
  • Serialization round-trip

Method

  • go test -benchmem
  • pprof heap profiles
  • escape analysis (go build -gcflags=-m)
  • sync.Pool for reusable buffers where appropriate
## What Profile eskit hot paths and eliminate allocations where possible. ## Focus areas - Event append path - Event read path - CommandBus dispatch - Subscription event delivery - Serialization round-trip ## Method - go test -benchmem - pprof heap profiles - escape analysis (go build -gcflags=-m) - sync.Pool for reusable buffers where appropriate
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
ash/eskit#12
No description provided.