[ https://issues.apache.org/jira/browse/BEAM-14470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537346#comment-17537346 ]
Robert Burke commented on BEAM-14470: ------------------------------------- There are some other optimizations we could do, but eventually we run into a GC + interface indirection wall in some instances. I imagine Java doesn't deal with that as much due to everything implicitly being wrapped anyway, while for Go we're jumping between stack and heap repeatedly. > Optimize load tests w/generic registrations > ------------------------------------------- > > Key: BEAM-14470 > URL: https://issues.apache.org/jira/browse/BEAM-14470 > Project: Beam > Issue Type: Improvement > Components: sdk-go, testing > Reporter: Robert Burke > Assignee: Robert Burke > Priority: P2 > Time Spent: 1h 20m > Remaining Estimate: 0h > > With Generic Registration available, a way to indicate the value would be via > the load tests. > In particular the following tests should be optimized: > http://metrics.beam.apache.org/d/fK0U4JqWz/cogbk-load-tests?orgId=1&var-processingType=batch&var-sdk=go > http://metrics.beam.apache.org/d/WNzYt13Zk/combine-load-tests?orgId=1&var-processingType=batch&var-sdk=go > http://metrics.beam.apache.org/d/UYZ-oJ3Zk/gbk-load-tests?orgId=1&var-processingType=batch&var-sdk=go > http://metrics.beam.apache.org/d/MOi-kf3Zk/pardo-load-tests?orgId=1&var-processingType=batch&var-sdk=go > http://metrics.beam.apache.org/d/-E9aGlFGk/side-input-load-tests?orgId=1&var-processingType=batch&var-sdk=go > Benchmarks show reduce per call overhead by about ~300ns per parameter in the > invoked user function, just like the code generated, and any improvement > should be reflected by the load test graphs going forward. -- This message was sent by Atlassian Jira (v8.20.7#820007)