[ 
https://issues.apache.org/jira/browse/AVRO-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thiruvalluvan M. G. updated AVRO-328:
-------------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed revision 899888.

> 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.
>         Attachments: AVRO-328-test.patch, AVRO-328.patch
>
>
> 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