OpenSearch/plugins/transport-nio/src
Armin Braun aaecaf59a4
Optimize Bulk Message Parsing and Message Length Parsing (#39634) (#39730)
* Optimize Bulk Message Parsing and Message Length Parsing

* findNextMarker took almost 1ms per invocation during the PMC rally track
  * Fixed to be about an order of magnitude faster by using Netty's bulk `ByteBuf` search
* It is unnecessary to instantiate an object (the input stream wrapper) and throw it away, just to read the `int` length from the message bytes
  * Fixed by adding bulk `int` read to BytesReference
2019-03-06 08:13:15 +01:00
..
main Optimize Bulk Message Parsing and Message Length Parsing (#39634) (#39730) 2019-03-06 08:13:15 +01:00
test/java/org/elasticsearch Extract message serialization from `TcpTransport` (#37034) 2019-01-21 14:14:18 -07:00