New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eventkit is allocating lots of heap #23
Comments
Change eventkit: add benchmark for outgoingPacket mentions this issue. |
Looks like most of the allocations happen due to needing to create
golang/go#32371 has some further information on it. |
Updates #23 Change-Id: Idfb40592faeeab8cf333770e3ea74f50bf5ccfc6
Change eventkit: use a single element zlib.Writer pool mentions this issue. |
goos: windows goarch: amd64 pkg: github.com/jtolio/eventkit cpu: AMD Ryzen Threadripper 2950X 16-Core Processor │ before.txt │ after.txt │ │ sec/op │ sec/op vs base │ OutgoingPacket-32 391.5µ ± 2% 163.5µ ± 1% -58.23% (p=0.000 n=10) │ before.txt │ after.txt │ │ B/op │ B/op vs base │ OutgoingPacket-32 815.17Ki ± 0% 20.54Ki ± 0% -97.48% (p=0.000 n=10) │ before.txt │ after.txt │ │ allocs/op │ allocs/op vs base │ OutgoingPacket-32 309.0 ± 0% 290.0 ± 0% -6.15% (p=0.000 n=10) Updates #23 Change-Id: I87b4396cde2ef951799b30ef294cae790a3808f0
Change eventkit: use picobuf instead of gogo proto mentions this issue. |
This reduces allocs for addEvent by ~10x Updates #23 Change-Id: I0ef292f9cfaa2e22b6ec259739374345362dde42
Change go.mod: bump to eventkit mentions this issue. |
Change go.mod: bump storj.io/eventkit mentions this issue. |
Updates storj/eventkit#23 Change-Id: Icf87e9a0ba3bdb06df830250f7c86a5d39f3c2c7
Updates storj/eventkit#23 Change-Id: I57a9252741af02f37af81aa4cf5015685da64c02
Change go.mod: bump storj.io/eventkit, uplink and private mentions this issue. |
Updates storj/eventkit#23 Change-Id: Ide447b55cc453c9f4a9123aeeae55939dc3269b0
I cannot see those allocations using latest eventkit version. Closing. |
Profiling is showing lots of allocated heap for eventkit stuff
@elek said
The text was updated successfully, but these errors were encountered: