[
https://issues.apache.org/jira/browse/AVRO-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850949#comment-13850949
]
Rob Turner commented on AVRO-1348:
----------------------------------
Here are the results on my old 32 bit Linux laptop, Doug's Patch looks good!
||jdk||change||test name||time||M entries/sec||M bytes/sec||bytes/cycle||
|jdk1.6.0_45|"UTF-8"|StringRead:|29532 ms| 1.354| 48.243|
1780910|
|jdk1.7.0_40|"UTF-8"|StringRead:|22897 ms| 1.747| 62.222|
1780910|
|jdk1.6.0_45|Doug's Patch|StringRead:|29628 ms| 1.350| 48.086|
1780910|
|jdk1.7.0_40|Doug's Patch|StringRead:|22902 ms| 1.747| 62.209|
1780910|
|jdk1.6.0_45|Charset|StringRead:|37476 ms | 1.067| 38.016|
1780910|
|jdk1.7.0_40|Charset|StringRead:|23376 ms | 1.711| 60.948|
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-1348.patch, 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)