avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1332) Improve C# DatumReader performance
Date Sat, 09 Nov 2013 03:04:18 GMT

    [ https://issues.apache.org/jira/browse/AVRO-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13817971#comment-13817971
] 

Hudson commented on AVRO-1332:
------------------------------

SUCCESS: Integrated in AvroJava #403 (See [https://builds.apache.org/job/AvroJava/403/])
AVRO-1332.  Add missing files and fix a bug with defaults.  Contributed by David McIntosh.
(cutting: rev 1540206)
* /avro/trunk/lang/csharp/src/apache/main/Generic/GenericDatumReader.cs
* /avro/trunk/lang/csharp/src/apache/main/Generic/GenericDatumWriter.cs
* /avro/trunk/lang/csharp/src/apache/main/Generic/PreresolvingDatumReader.cs
* /avro/trunk/lang/csharp/src/apache/main/Generic/PreresolvingDatumWriter.cs
* /avro/trunk/lang/csharp/src/apache/main/Specific/SpecificDatumReader.cs
* /avro/trunk/lang/csharp/src/apache/main/Specific/SpecificDatumWriter.cs
* /avro/trunk/lang/csharp/src/apache/perf
* /avro/trunk/lang/csharp/src/apache/perf/Avro.perf.csproj
* /avro/trunk/lang/csharp/src/apache/perf/PerfTest.cs
* /avro/trunk/lang/csharp/src/apache/perf/com
* /avro/trunk/lang/csharp/src/apache/perf/com/foo
* /avro/trunk/lang/csharp/src/apache/perf/com/foo/A.cs
* /avro/trunk/lang/csharp/src/apache/perf/com/foo/Complex.cs
* /avro/trunk/lang/csharp/src/apache/perf/com/foo/MyEnum.cs
* /avro/trunk/lang/csharp/src/apache/perf/com/foo/MyFixed.cs
* /avro/trunk/lang/csharp/src/apache/perf/com/foo/Narrow.cs
* /avro/trunk/lang/csharp/src/apache/perf/com/foo/Simple.cs
* /avro/trunk/lang/csharp/src/apache/perf/com/foo/Wide.cs
* /avro/trunk/lang/csharp/src/apache/perf/com/foo/newRec.cs
* /avro/trunk/lang/csharp/src/apache/perf/schema.avsc
* /avro/trunk/lang/csharp/src/apache/test/Generic/GenericTests.cs


> 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
>            Assignee: David McIntosh
>            Priority: Minor
>              Labels: performance
>             Fix For: 1.7.6
>
>         Attachments: AVRO-1332-2.patch, AVRO-1332-3.patch, AVRO-1332-4.patch, AVRO-1332-defaults-patch-only.patch,
AVRO-1332-missing-files-plus-defaults-patch.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 was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message