Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.11.1
-
None
-
None
Description
Sorry for the seemingly naïve nature of this observation, however whilst trying to resolve a Kafka client performance issue on Mainframe I noticed a potential opportunity in Avro serialisation. I am using a compiled Avro schema and noticed with my special profiling tool (see attached image) that writeWithoutConversion calls resolveUnion which performs three HashMap.get's.
Seeing this a compiled serialiser is there not an opportunity to eliminate these calls which would reduce the Record serialisation cost to something closer the absolute minimum .writeString (.writePrimitive).
Attachments
Attachments
Issue Links
- links to