[ 
https://issues.apache.org/jira/browse/BEAM-12210?focusedWorklogId=587502&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-587502
 ]

ASF GitHub Bot logged work on BEAM-12210:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Apr/21 20:36
            Start Date: 22/Apr/21 20:36
    Worklog Time Spent: 10m 
      Work Description: iemejia merged pull request #14620:
URL: https://github.com/apache/beam/pull/14620


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 587502)
    Time Spent: 20m  (was: 10m)

> Performance issue in AvroUtils.checkTypeName
> --------------------------------------------
>
>                 Key: BEAM-12210
>                 URL: https://issues.apache.org/jira/browse/BEAM-12210
>             Project: Beam
>          Issue Type: Task
>          Components: io-java-avro, sdk-java-core
>    Affects Versions: 2.28.0
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>            Priority: P2
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> AvroUtils.checkTypeName (which is called a LOT) is always creating a 
> StringBuilder and doing a bunch of appends and toString's even if the 
> condition is true.   It's not using a proper format  string and varargs for 
> the parameters.  This results in a lot of extra objects being created when 
> using Avro.



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

Reply via email to