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

David McIntosh updated AVRO-1332:
---------------------------------

    Attachment: AVRO-1332-4.patch

This latest version of the patch adjusts the unit tests to cover both the new & 
old version of the readers and writers. The old versions have been restored to 
their original state.

Serializing
|type|old specific|new specific|old generic|new generic|
|simple|2012|1623|2465|2028|
|complex|14945|14867|13993|15428|
|narrow|1061|795|1233|1014|
|wide|17441|9704|13479|11217|

Deserializing
|type|old specific|new specific|old generic|new generic|
|simple|4352|936|5850|1747|
|complex|29094|14321|26911|14851|
|narrow|2278|546|2855|811|
|wide|25553|5475|31683|10499|
                
> Improve C# DatumReader performance
> ----------------------------------
>
>                 Key: AVRO-1332
>                 URL: https://issues.apache.org/jira/browse/AVRO-1332
>             Project: Avro
>          Issue Type: Improvement
>          Components: csharp
>    Affects Versions: 1.7.5
>            Reporter: David McIntosh
>            Priority: Minor
>              Labels: performance
>         Attachments: AVRO-1332-2.patch, AVRO-1332-3.patch, AVRO-1332-4.patch, 
> AVRO-1332.patch
>
>
> The current implementations of the C# datum readers perform resolution of the 
> reader and writer schema on every call to Read. In my tests this was causing 
> it to perform poorly when reading a large number of records (slower than 
> parsing the same data from delimited text files). It would be more efficient 
> if the reader only needed to resolve the schemas once.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to