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 2017/11/02 16:10:01 UTC

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

Steve Lawrence created DAFFODIL-1860:
----------------------------------------

             Summary: 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: Steve Lawrence
            Priority: Normal
             Fix For: 2.1.0


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
(v6.4.14#64029)