You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Daniel Kulp (Jira)" <ji...@apache.org> on 2021/04/22 17:30:00 UTC

[jira] [Created] (BEAM-12210) Performance issue in AvroUtils.checkTypeName

Daniel Kulp created BEAM-12210:
----------------------------------

             Summary: 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


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)