{"push_id":822741055,"size":2,"distinct_size":2,"ref":"refs/heads/ninja","head":"13d2438556b2320f3a4143560f09a31c31f4a02b","before":"8741ca88e41ea0c169f41deedcc298373f576422","commits":[{"sha":"7b562bfc174175a67b6f684b22fae665ac33075a","author":{"email":"4fc7d14e73e3aa9e0c9499bc665d8c2f981fc6d6@openmailbox.org","name":"ninja"},"message":"[#4285] Optimize applications that write a lot of small buffers (with voidPromise).\n\nMotivation:\n\nA long fight against spam of ChannelOutboundBuffer.Entry instances has revealed a need\nto squash these entries into one along with their buffers, especially the small buffers(small packets) were a big overhead.\n\nModifications:\n\nThe modified version of ChannelOutboundBuffer#addMessage now includes a fast-path that will append the data to latest buffer's entry(aka tailEntry)\nif following conditions are met:\n- both the requested message and tailEntry's message are ByteBufs\n- both the requested promise and promise of the tailEntry are void promises\n\nIf needed, the tailEntry's buffer will be expanded by using the logic from ByteToMessageDecoder.Cumulator.\n\nResult:\n\n- dramatically reduce number of ChannelOutboundBuffer.Entry for proxy applications\n- less overhead for small packets\n- reduce the number of pooled buffers along with the entries, so they could be more efficiently reused\n- ability to disable this behaviour with a system property\n\nReal life test-case of a proxy app:\n- before this change: 1844 outbound entries and 1845 buffers\n- after this change: 4 entries and 4 buffers (!)\n\n(the test-case also required changes from #4284)\n\nPOOL THE SLICED BUFFERS WOOOOOO","distinct":true,"url":"https://api.github.com/repos/ninja-/netty/commits/7b562bfc174175a67b6f684b22fae665ac33075a"},{"sha":"13d2438556b2320f3a4143560f09a31c31f4a02b","author":{"email":"4fc7d14e73e3aa9e0c9499bc665d8c2f981fc6d6@openmailbox.org","name":"ninja"},"message":"[#4333] POOL THE SLICED BUFFERS WOOOOOO","distinct":true,"url":"https://api.github.com/repos/ninja-/netty/commits/13d2438556b2320f3a4143560f09a31c31f4a02b"}]}