Comments (8)
Change eventkit: add benchmark for outgoingPacket mentions this issue.
from eventkit.
Looks like most of the allocations happen due to needing to create flate.Writer
, which contains a large 65k window:
flat flat% sum% cum cum%
27.71GB 79.62% 79.62% 27.71GB 79.62% compress/flate.NewWriter C:\Program Files\Go\src\compress\flate\deflate.go:666
3.10GB 8.91% 88.54% 3.10GB 8.91% compress/flate.(*compressor).initDeflate C:\Program Files\Go\src\compress\flate\deflate.go:371 (inline)
2.64GB 7.59% 96.13% 2.64GB 7.59% compress/flate.(*compressor).initDeflate C:\Program Files\Go\src\compress\flate\deflate.go:369 (inline)
0.40GB 1.16% 97.29% 0.44GB 1.28% github.com/jtolio/eventkit.(*outgoingPacket).addEvent s:\dev\eventkit\client.go:134
0.34GB 0.97% 98.25% 0.34GB 0.97% github.com/jtolio/eventkit.(*outgoingPacket).addEvent s:\dev\eventkit\client.go:127
0.30GB 0.85% 99.10% 0.30GB 0.85% compress/flate.(*huffmanEncoder).generate C:\Program Files\Go\src\compress\flate\huffman_code.go:277
0 0% 99.10% 0.37GB 1.06% compress/flate.(*Writer).Flush C:\Program Files\Go\src\compress\flate\deflate.go:725
0 0% 99.10% 0.30GB 0.85% compress/flate.(*compressor).deflate C:\Program Files\Go\src\compress\flate\deflate.go:408
golang/go#32371 has some further information on it.
from eventkit.
Change eventkit: use a single element zlib.Writer pool mentions this issue.
from eventkit.
Change eventkit: use picobuf instead of gogo proto mentions this issue.
from eventkit.
Change go.mod: bump to eventkit mentions this issue.
from eventkit.
Change go.mod: bump storj.io/eventkit mentions this issue.
from eventkit.
Change go.mod: bump storj.io/eventkit, uplink and private mentions this issue.
from eventkit.
I cannot see those allocations using latest eventkit version. Closing.
from eventkit.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eventkit.