[
https://issues.apache.org/jira/browse/AVRO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13846867#comment-13846867
]
Rob Turner commented on AVRO-1348:
----------------------------------
Here are results on 32 bit Linux with Sun JDK:
||jdk||change||test name||time||M entries/sec|| M bytes/sec|| bytes/cycle
|jdk1.6.0_45| "UTF-8"| StringRead: | 34721 ms | 1.152| 41.032|
1780910|
|jdk1.6.0_45| Charset| StringRead: | 45231 ms | 0.884| 31.499|
1780910|
|jdk1.7.0_40| "UTF-8"| StringRead: | 28211 ms | 1.418| 50.502|
1780910|
|jdk1.7.0_40| Charset| StringRead: | 34729 ms | 1.152| 41.024|
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)