[
https://issues.apache.org/jira/browse/AVRO-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12897001#action_12897001
]
Scott Carey commented on AVRO-557:
----------------------------------
Actually that fixes it.
Perf.java had some inconsistencies. I have corrected those and refactored the
class a little. There is still some work to make it more consistent but the
measurements for GenericReader tests are accurate with some changes.
I am working on a patch that includes those changes and measures the
performance drop when Decoders and DatumReaders are not re-used.
I am also considering removing the Google Collections change for now to
simplify this.
I think we may want to include that later, in the form of Google Guava since
Google Collections has merged into that, but should we leave that for another
JIRA?.
> Speed up one-time data decoding
> -------------------------------
>
> Key: AVRO-557
> URL: https://issues.apache.org/jira/browse/AVRO-557
> Project: Avro
> Issue Type: Improvement
> Components: java
> Affects Versions: 1.3.2
> Reporter: Kevin Oliver
> Assignee: Doug Cutting
> Fix For: 1.4.0
>
> Attachments: AVRO-557.patch, AVRO-557.patch, AVRO-557.patch
>
>
> There are big gains to be had in performance when using a BinaryDecoder and a
> GenericDatumReader just one time. This is due to the relatively expensive
> parsing and initialization that came with 1.3. Patch with example code and a
> Perf harness to follow.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.