[
https://issues.apache.org/jira/browse/AVRO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13847910#comment-13847910
]
Frank Grimes commented on AVRO-1348:
------------------------------------
Linux 3.7.10-gentoo-r1 (64-bit)
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.7) (Gentoo build 1.6.0_27-b27)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal_2013_12_13_19_19-b00)
OpenJDK 64-Bit Server VM (build 25.0-b62, mixed mode)
GIT HEAD
||jdk||test name||time||M entries/sec|| M bytes/sec|| bytes/cycle
|jdk1.6.0_45| StringRead: | 5982 ms | 6.686| 238.153| 1780910|
|icedtea-6| StringRead: | 6006 ms | 6.659| 237.193| 1780910|
|jdk1.7.0_45| StringRead: | 3992 ms | 10.019| 356.846|
1780910|
|openjdk8| StringRead: | 5461 ms | 7.324| 260.852| 1780910|
AVRO-1348v2.patch ("UTF-8")
||jdk||test name||time||M entries/sec|| M bytes/sec|| bytes/cycle
|jdk1.6.0_45| StringRead: | 5384 ms | 7.428| 264.585| 1780910|
|icedtea-6| StringRead: | 5467 ms | 7.316| 260.572| 1780910|
|jdk1.7.0_45| StringRead: | 4174 ms | 9.582| 341.293| 1780910|
|openjdk8| StringRead: | 6247 ms | 6.403| 228.061| 1780910|
> Improve Utf8 to String conversion
> ---------------------------------
>
> Key: AVRO-1348
> URL: https://issues.apache.org/jira/browse/AVRO-1348
> Project: Avro
> Issue Type: Bug
> Reporter: Mark Wagner
> Assignee: Mohammad Kamrul Islam
> Attachments: AVRO-1348v2.patch, AVRO1348v1.patch
>
>
> AVRO-1241 found that the existing method of creating Strings from Utf8 byte
> arrays could be made faster. The same method is being used in the
> Utf8.toString(), and could likely be sped up by doing the same thing.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)