You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by "Steve Lawrence (JIRA)" <ji...@apache.org> on 2018/01/22 13:44:00 UTC

[jira] [Resolved] (DAFFODIL-1860) Minimize the number of HashMap allocations/insertions in the Infoset

     [ https://issues.apache.org/jira/browse/DAFFODIL-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Lawrence resolved DAFFODIL-1860.
--------------------------------------
    Resolution: Fixed
      Assignee: Dave Thompson  (was: Steve Lawrence)

Fixed inĀ eec6c76a36edeecebf87ab5a3d80f9040442f120

> Minimize the number of HashMap allocations/insertions in the Infoset
> --------------------------------------------------------------------
>
>                 Key: DAFFODIL-1860
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1860
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Back End
>            Reporter: Steve Lawrence
>            Assignee: Dave Thompson
>            Priority: Major
>             Fix For: 2.1.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Performance testing found that the slot removal made in DAFFODIL-1854 caused performance degradation, sometimes up to 20% decreases. Profiling found that some of this is due to the allocations of the HashMap used for quickly looking up elements in the Infoset by QName. We should only allocate hashmaps when it's possible an element could be be used in an expression, which should improve performance. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)