avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiruvalluvan M. G. (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-328) Performance improvements Validating encoder/decoder for nested records
Date Fri, 15 Jan 2010 02:42:54 GMT

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

Thiruvalluvan M. G. updated AVRO-328:

    Attachment:     (was: AVRO-328.patch)

> 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.

View raw message