[ 
https://issues.apache.org/jira/browse/BEAM-14134?focusedWorklogId=745824&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-745824
 ]

ASF GitHub Bot logged work on BEAM-14134:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Mar/22 13:33
            Start Date: 22/Mar/22 13:33
    Worklog Time Spent: 10m 
      Work Description: steveniemitz commented on pull request #17134:
URL: https://github.com/apache/beam/pull/17134#issuecomment-1075186202


   not sure what's going on with the precommit here, the failure seems 
unrelated in a metrics test.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 745824)
    Time Spent: 2.5h  (was: 2h 20m)

> Many coders cause significant unnecessary allocations
> -----------------------------------------------------
>
>                 Key: BEAM-14134
>                 URL: https://issues.apache.org/jira/browse/BEAM-14134
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Steve Niemitz
>            Assignee: Steve Niemitz
>            Priority: P2
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Many coders (BigEndian*, Map, Iterable, Instant) use DataInputStream to read 
> longs/ints/shorts.  Internally each DataInputStream allocates ~200 bytes of 
> buffers when instantiated.  This means every long, int, short, etc decoded 
> allocates over 200 bytes.
> We should eliminate all uses of DataInputStream in hot-paths and replace it 
> with something more efficient.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to