[jira] [Commented] (AVRO-2364) Use Jackson TokenBuffer in JsonDecoder
[ https://issues.apache.org/jira/browse/AVRO-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16807179#comment-16807179 ] Hudson commented on AVRO-2364: -- FAILURE: Integrated in Jenkins build AvroJava #633 (See [https://builds.apache.org/job/AvroJava/633/]) AVRO-2364 Use Jackson TokenBuffer in JsonDecoder (dan: [https://github.com/apache/avro/commit/dbf977989105217b37a798d30793d90e747eceb1]) * (edit) lang/java/avro/src/main/java/org/apache/avro/io/JsonDecoder.java > Use Jackson TokenBuffer in JsonDecoder > -- > > Key: AVRO-2364 > URL: https://issues.apache.org/jira/browse/AVRO-2364 > Project: Apache Avro > Issue Type: Improvement > Components: java >Affects Versions: 1.8.2 >Reporter: Anthony Miyaguchi >Assignee: Daniel Kulp >Priority: Trivial > Fix For: 1.9.0 > > > The JsonDecoder implements a class for replaying parts of the JSON stream > when accessing fields out of order. > This module can take advantage of > [TokenBuffers|http://static.javadoc.io/com.fasterxml.jackson.core/jackson-databind/2.9.8/com/fasterxml/jackson/databind/util/TokenBuffer.html] > to reduce code size. This buffer can be read back as a parser. > > [https://github.com/apache/avro/blob/db992cf8686ffa681b0c592696b37ad519c33ee6/lang/java/avro/src/main/java/org/apache/avro/io/JsonDecoder.java#L514-L754] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (AVRO-2364) Use Jackson TokenBuffer in JsonDecoder
[ https://issues.apache.org/jira/browse/AVRO-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16807130#comment-16807130 ] ASF subversion and git services commented on AVRO-2364: --- Commit dbf977989105217b37a798d30793d90e747eceb1 in avro's branch refs/heads/master from Anthony Miyaguchi [ https://gitbox.apache.org/repos/asf?p=avro.git;h=dbf9779 ] AVRO-2364 Use Jackson TokenBuffer in JsonDecoder > Use Jackson TokenBuffer in JsonDecoder > -- > > Key: AVRO-2364 > URL: https://issues.apache.org/jira/browse/AVRO-2364 > Project: Apache Avro > Issue Type: Improvement > Components: java >Affects Versions: 1.8.2 >Reporter: Anthony Miyaguchi >Priority: Trivial > > The JsonDecoder implements a class for replaying parts of the JSON stream > when accessing fields out of order. > This module can take advantage of > [TokenBuffers|http://static.javadoc.io/com.fasterxml.jackson.core/jackson-databind/2.9.8/com/fasterxml/jackson/databind/util/TokenBuffer.html] > to reduce code size. This buffer can be read back as a parser. > > [https://github.com/apache/avro/blob/db992cf8686ffa681b0c592696b37ad519c33ee6/lang/java/avro/src/main/java/org/apache/avro/io/JsonDecoder.java#L514-L754] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (AVRO-2364) Use Jackson TokenBuffer in JsonDecoder
[ https://issues.apache.org/jira/browse/AVRO-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16805608#comment-16805608 ] Anthony Miyaguchi commented on AVRO-2364: - TokenBuffers are mentioned on the [Jackson wiki |https://github.com/FasterXML/jackson-docs/wiki/Presentation:-Jackson-Performance] for being the most efficient representation for replaying parts of the token stream. I think it would be interesting to see if there is a measurable change in decoding JSON documents. Are there benchmarks for the encoders and decoders? > Use Jackson TokenBuffer in JsonDecoder > -- > > Key: AVRO-2364 > URL: https://issues.apache.org/jira/browse/AVRO-2364 > Project: Apache Avro > Issue Type: Improvement > Components: java >Affects Versions: 1.8.2 >Reporter: Anthony Miyaguchi >Priority: Trivial > > The JsonDecoder implements a class for replaying parts of the JSON stream > when accessing fields out of order. > This module can take advantage of > [TokenBuffers|http://static.javadoc.io/com.fasterxml.jackson.core/jackson-databind/2.9.8/com/fasterxml/jackson/databind/util/TokenBuffer.html] > to reduce code size. This buffer can be read back as a parser. > > [https://github.com/apache/avro/blob/db992cf8686ffa681b0c592696b37ad519c33ee6/lang/java/avro/src/main/java/org/apache/avro/io/JsonDecoder.java#L514-L754] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)