[
https://issues.apache.org/jira/browse/AVRO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13847799#comment-13847799
]
Frank Grimes commented on AVRO-1348:
------------------------------------
Mac OS X 10.9 (64-bit)
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bin/java
-version
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)
~/Documents/hg/openjdk8/build/macosx-x86_64-normal-server-release/jdk/bin/java
-version
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal_2013_12_13_10_18-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: | 7134 ms | 5.607| 199.695| 1780910|
|jdk1.7.0_45| StringRead: | 3520 ms | 11.360| 404.638|
1780910|
|openjdk8| StringRead: | 3391 ms | 11.793| 420.054| 1780910|
AVRO-1348v2.patch ("UTF-8")
||jdk||test name||time||M entries/sec|| M bytes/sec|| bytes/cycle
|jdk1.6.0_45| StringRead: | 5695 ms | 7.023| 250.145| 1780910|
|jdk1.7.0_45| StringRead: | 3802 ms | 10.520| 374.710|
1780910|
|openjdk8| StringRead: | 3968 ms | 10.079| 358.981| 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)