[
https://issues.apache.org/jira/browse/BEAM-14347?focusedWorklogId=769931&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-769931
]
ASF GitHub Bot logged work on BEAM-14347:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 12/May/22 22:18
Start Date: 12/May/22 22:18
Worklog Time Spent: 10m
Work Description: damccorm commented on PR #17650:
URL: https://github.com/apache/beam/pull/17650#issuecomment-1125470664
> We do need it for the same reason. Please add a benchmark for wrapping and
invoking a simple function caller, and you'll see.
Oh yeah, my point isn't that it isn't much better in terms of performance,
just that its not a huge usability win vs the user manually calling these
themselves. The performance bump is evident from the existing benchmarks on
`register.DoFnXxY` which are doing the same thing, I'm pretty happy to add the
extra benchmark though, and will have it shortly.
I should've been more clear in my original comment that I **do** still think
this is a good idea, I just think it is less useful because its not too hard
for users to do the right thing themselves already.
Issue Time Tracking
-------------------
Worklog Id: (was: 769931)
Time Spent: 21h (was: 20h 50m)
> [Go SDK] Allow users to optimize DoFns with a single generic registration
> function
> ----------------------------------------------------------------------------------
>
> Key: BEAM-14347
> URL: https://issues.apache.org/jira/browse/BEAM-14347
> Project: Beam
> Issue Type: New Feature
> Components: sdk-go
> Reporter: Danny McCormick
> Assignee: Danny McCormick
> Priority: P2
> Time Spent: 21h
> Remaining Estimate: 0h
>
> Right now, to optimize DoFn execution, users have to use the code generator.
> This updates to allow them to use generics instead.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)