[ https://issues.apache.org/jira/browse/FLINK-2404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644065#comment-14644065 ]
ASF GitHub Bot commented on FLINK-2404: --------------------------------------- Github user mxm commented on the pull request: https://github.com/apache/flink/pull/942#issuecomment-125504599 Thanks for repeating your experiment isolated without the whole Flink stack. Here we can clearly see the performance impact of the `Long` auto unboxing. I will merge your changes later this day. > LongCounters should have an "addValue()" method for primitive longs > ------------------------------------------------------------------- > > Key: FLINK-2404 > URL: https://issues.apache.org/jira/browse/FLINK-2404 > Project: Flink > Issue Type: Bug > Components: Core > Affects Versions: 0.10 > Reporter: Stephan Ewen > Fix For: 0.10 > > > Since the LongCounter is used heavily for internal statistics reporting, it > must have very low overhead. > The current "addValue()" method always boxes and unboxes the values, which is > unnecessary overhead. -- This message was sent by Atlassian JIRA (v6.3.4#6332)