[
https://issues.apache.org/jira/browse/AVRO-3000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262185#comment-17262185
]
ASF subversion and git services commented on AVRO-3000:
-------------------------------------------------------
Commit bd31cc452dbe8513f9d2f00181d910622dfd4bbe in avro's branch
refs/heads/master from Joel Turkel
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=bd31cc4 ]
AVRO-3000: Avoid unnecessary schema compatibility checks (#1038)
Ruby Avro decoding spends a fair amount of time validating that the
reader and writer schemas are compatible. These checks are
unnecessary for the fairly common case of the reader and writer schemas
being the same Avro::Schema instance.
> Avoid unnecessary schema compatibility checks
> ---------------------------------------------
>
> Key: AVRO-3000
> URL: https://issues.apache.org/jira/browse/AVRO-3000
> Project: Apache Avro
> Issue Type: Improvement
> Components: ruby
> Affects Versions: 1.10.0
> Reporter: Joel Turkel
> Assignee: Joel Turkel
> Priority: Major
>
> Profiling Ruby Avro decoding of our event processing pipeline shows Avro is
> spending a fair amount of time validating that the reader and writer schemas
> are compatible. These checks are unnecessary for the fairly common case of
> the reader and writer schemas being the same. Eliminating these unnecessary
> checks when the reader and writer schemas are the same improves the
> throughput of our decoding benchmarks by 1.3X.
> Github PR coming shortly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)