Reduce SQLite store load allocations (30 allocs/event → target <5) #56
Labels
No labels
bug
documentation
enhancement
investigation
nice-to-have
performance
production-ready
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Benchmarks show 299K allocs for loading 10K events (~30 per event). This is excessive.
Sources likely include:
Investigation
go test -benchmem -memprofileProposed Fixes
sync.Poolfor reusable JSON decode bufferssql.Rowsscan destinationsjsoniteras default deserializer (4x faster deserialize per benchmarks)Acceptance