generated from netty-contrib/template-multi
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Buffers appended to the AbstractMemoryHttpData are appended to a CompositeBuffer using "extendWith" method.
But it seems there is a performance issue with extendsWith method. Maybe the CompositeBuffer API is not used appropriately or maybe there is room for optimisation in the CompositeBuffer implementation, I don't know for the moment.
I'm attaching a benchmark which is reproducing the performance issue:
buffer.composite.benchmark.tgz
here are the results, where we can observe the performance issue:
Benchmark Mode Cnt Score Error Units
MyBenchmark.compositeBufferBenchmark thrpt 14116.317 ops/s
MyBenchmark.compositeByteBufBenchmark thrpt 153964.596 ops/s
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request