You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 16:19:39 UTC

[GitHub] [beam] damccorm opened a new issue, #20226: python typehints: reduce the number of runtime-type-check wrappers

damccorm opened a new issue, #20226:
URL: https://github.com/apache/beam/issues/20226

   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. 
   
   Imported from Jira [BEAM-9489](https://issues.apache.org/jira/browse/BEAM-9489). Original Jira may contain additional context.
   Reported by: udim.


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org