[
https://issues.apache.org/jira/browse/BEAM-6276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16726179#comment-16726179
]
Reuven Lax commented on BEAM-6276:
----------------------------------
getRawType is being called from FromRowUsingCreator, and is called on every
record. This regression was caused by an innocuous-looking refactoring that had
us store the TypeDescriptor instead of the raw type. As a result we called
TypeDescriptor.getRawType on each record, and that codepath is surprisingly
slow (usually you expect getters to be trivial).
The PR that fixes this simply caches the raw type instead of delegating to
TypeDescriptor.
> Performance regression caused by extra calls to TypeDescriptor.getRawType
> -------------------------------------------------------------------------
>
> Key: BEAM-6276
> URL: https://issues.apache.org/jira/browse/BEAM-6276
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Reuven Lax
> Assignee: Reuven Lax
> Priority: Major
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)