[CONJ-1014] avoid creating array when receiving server packet Created: 2022-09-23  Updated: 2022-09-30  Resolved: 2022-09-30

Status: Closed
Project: MariaDB Connector/J
Component/s: performance
Affects Version/s: None
Fix Version/s: 3.1.0

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Performance improvement :

Actual implementation create a byte array for each MySQL packet received.
Lots of packets are either parsed immediatly into variables / object. Since driver is synchronous, connectors knows if a cache buffer can be use.


Generated at Thu Feb 08 03:19:58 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.