[
https://issues.apache.org/jira/browse/BEAM-9489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17548602#comment-17548602
]
Danny McCormick commented on BEAM-9489:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/20226
> python typehints: reduce the number of runtime-type-check wrappers
> ------------------------------------------------------------------
>
> Key: BEAM-9489
> URL: https://issues.apache.org/jira/browse/BEAM-9489
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Udi Meiri
> Priority: P3
> Labels: starter, types
>
> The --runtime_type_check flag is considered to be a performance penalty.
> One of the possible slowdowns is the wrapper around DoFn.process(), which
> adds an extra call to the wrapped process() method.
> Currently, there are 2 wrappers applied: OutputCheckWrapperDoFn and
> TypeCheckWrapperDoFn. These could be merged into one to possibly save on
> overhead.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)