[
https://issues.apache.org/jira/browse/BEAM-12210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismaël Mejía updated BEAM-12210:
--------------------------------
Fix Version/s: 2.30.0
Resolution: Fixed
Status: Resolved (was: Open)
> 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
> Fix For: 2.30.0
>
> 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)