[ 
https://issues.apache.org/jira/browse/TEZ-4161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17095943#comment-17095943
 ] 

Jonathan Turner Eagles commented on TEZ-4161:
---------------------------------------------

Before: 2.561s
After: 1.011s

Couple of problems here. Adding one character is just slower than adding many 
at a time. Additionally, the initial buffer size for the string buffer was 
improperly sized and had to be resized upon the last addition.

> Speed up TestTezUtils
> ---------------------
>
>                 Key: TEZ-4161
>                 URL: https://issues.apache.org/jira/browse/TEZ-4161
>             Project: Apache Tez
>          Issue Type: Sub-task
>            Reporter: Jonathan Turner Eagles
>            Assignee: Jonathan Turner Eagles
>            Priority: Major
>         Attachments: TEZ-4161.001.patch
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to