Performance improvements Validating encoder/decoder for nested records
----------------------------------------------------------------------

                 Key: AVRO-328
                 URL: https://issues.apache.org/jira/browse/AVRO-328
             Project: Avro
          Issue Type: Improvement
          Components: java
            Reporter: Thiruvalluvan M. G.
            Assignee: Thiruvalluvan M. G.


With nested records, Parser.pushProduction() gets called multiple times (once 
per record nesting). Since we do not have any events for beginning and end of 
records, it enhances the performance if we flatten the grammar, wherever 
possible.

The forthcoming patch does just that.

Try org.apache.avro.io.Perf -N

On my machine (HP laptop with Cygwin) the improvement is about 20%.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to